ComponentOne Word for WinForms
C1.C1Word.4.8 Assembly / C1.C1Word.Objects Namespace / RtfFont Class / GetAproximateFont Method
The font size of drawing font.
The .NET drawing font style.

In This Topic
    GetAproximateFont Method
    In This Topic
    Gets drawing approximate font for this Word/RTF font.
    Syntax
    'Declaration
     
    Public Function GetAproximateFont( _
       ByVal fontSize As System.Single, _
       ByVal style As System.Drawing.FontStyle _
    ) As System.Drawing.Font
    public System.Drawing.Font GetAproximateFont( 
       System.float fontSize,
       System.Drawing.FontStyle style
    )

    Parameters

    fontSize
    The font size of drawing font.
    style
    The .NET drawing font style.

    Return Value

    The .NET drawing font.
    See Also