InputPanel for WinForms | ComponentOne
C1.Win.8 Assembly / C1.Util.Win Namespace / Win32 Class / CreateFont Method

In This Topic
    CreateFont Method (Win32)
    In This Topic
    Syntax
    'Declaration
     
    Public Shared Function CreateFont( _
       ByVal nHeight As Integer, _
       ByVal nWidth As Integer, _
       ByVal nEscapement As Integer, _
       ByVal nOrientation As Integer, _
       ByVal fnWeight As Integer, _
       ByVal fdwItalic As Integer, _
       ByVal fdwUnderline As Integer, _
       ByVal fdwStrikeOut As Integer, _
       ByVal fdwCharSet As Integer, _
       ByVal fdwOutputPrecision As Integer, _
       ByVal fdwClipPrecision As Integer, _
       ByVal fdwQuality As Integer, _
       ByVal fdwPitchAndFamily As Integer, _
       ByVal lpszFace As String _
    ) As IntPtr
    public static IntPtr CreateFont( 
       int nHeight,
       int nWidth,
       int nEscapement,
       int nOrientation,
       int fnWeight,
       int fdwItalic,
       int fdwUnderline,
       int fdwStrikeOut,
       int fdwCharSet,
       int fdwOutputPrecision,
       int fdwClipPrecision,
       int fdwQuality,
       int fdwPitchAndFamily,
       string lpszFace
    )

    Parameters

    nHeight
    nWidth
    nEscapement
    nOrientation
    fnWeight
    fdwItalic
    fdwUnderline
    fdwStrikeOut
    fdwCharSet
    fdwOutputPrecision
    fdwClipPrecision
    fdwQuality
    fdwPitchAndFamily
    lpszFace
    See Also