Spread WPF 18
GrapeCity.Drawing Namespace / IDrawingContext Interface / GetAutoMargins Method
The font to paint.


In This Topic
    GetAutoMargins Method
    In This Topic
    Gets the height of text line with the specific font.
    Syntax
    'Declaration
     
    Function GetAutoMargins( _
       ByVal font As Font _
    ) As Rectangle
    'Usage
     
    Dim instance As IDrawingContext
    Dim font As Font
    Dim value As Rectangle
     
    value = instance.GetAutoMargins(font)
    Rectangle GetAutoMargins( 
       Font font
    )

    Parameters

    font
    The font to paint.
    See Also