ComponentOne Bitmap for WPF
C1.WPF.DX.4.5.2 Assembly / C1.Util.DX.DirectWrite Namespace / GdiInterop Class / FromLogFont Method
A structure containing a GDI-compatible font description.

In This Topic
    FromLogFont Method
    In This Topic
    Creates a font object that matches the properties specified by the LOGFONT structure.
    Syntax
    'Declaration
     
    Public Function FromLogFont( _
       ByVal logFont As Object _
    ) As Font
    public Font FromLogFont( 
       object logFont
    )

    Parameters

    logFont
    A structure containing a GDI-compatible font description.

    Return Value

    a reference to a newly created Font.
    See Also