'Declaration
<System.Security.SuppressUnmanagedCodeSecurityAttribute()> Public Shared Function CreateFont( _ ByVal height As System.Integer, _ ByVal width As System.Integer, _ ByVal escapement As System.Integer, _ ByVal orientation As System.Integer, _ ByVal weight As System.Integer, _ ByVal italic As System.Boolean, _ ByVal underline As System.Boolean, _ ByVal strikeOut As System.Boolean, _ ByVal charSet As System.Integer, _ ByVal outputPrecision As System.Integer, _ ByVal clipPrecision As System.Integer, _ ByVal quality As System.Integer, _ ByVal pitchAndFamily As System.Integer, _ ByVal typeFace As System.String _ ) As System.IntPtr
'Usage
Dim height As System.Integer Dim width As System.Integer Dim escapement As System.Integer Dim orientation As System.Integer Dim weight As System.Integer Dim italic As System.Boolean Dim underline As System.Boolean Dim strikeOut As System.Boolean Dim charSet As System.Integer Dim outputPrecision As System.Integer Dim clipPrecision As System.Integer Dim quality As System.Integer Dim pitchAndFamily As System.Integer Dim typeFace As System.String Dim value As System.IntPtr value = NGdi32.CreateFont(height, width, escapement, orientation, weight, italic, underline, strikeOut, charSet, outputPrecision, clipPrecision, quality, pitchAndFamily, typeFace)
[System.Security.SuppressUnmanagedCodeSecurity()] public static System.IntPtr CreateFont( System.int height, System.int width, System.int escapement, System.int orientation, System.int weight, System.bool italic, System.bool underline, System.bool strikeOut, System.int charSet, System.int outputPrecision, System.int clipPrecision, System.int quality, System.int pitchAndFamily, System.string typeFace )
Parameters
- height
- width
- escapement
- orientation
- weight
- italic
- underline
- strikeOut
- charSet
- outputPrecision
- clipPrecision
- quality
- pitchAndFamily
- typeFace