ComponentOne Bitmap for WinForms
C1.Win.C1DX.4.8 Assembly / C1.Util.DX.DirectWrite Namespace / GdiInterop Class / ToSystemDrawingFont Method
a Direct2D Font
a System.Drawing.Font

In This Topic
    ToSystemDrawingFont Method
    In This Topic
    Convert a Direct2D Font to a System.Drawing.Font.
    Syntax
    'Declaration
     
    Public Function ToSystemDrawingFont( _
       ByVal d2dFont As Font, _
       ByRef font As System.Drawing.Font _
    ) As System.Boolean
    public System.bool ToSystemDrawingFont( 
       Font d2dFont,
       out System.Drawing.Font font
    )

    Parameters

    d2dFont
    a Direct2D Font
    font
    a System.Drawing.Font

    Return Value

    true if the specified font object is part of the system font collection; otherwise, false.
    See Also