Spread Windows Forms 15.0
FarPoint.Win Assembly / FarPoint.Win Namespace / FpHyperlink Class / GetPreferredSize Method / GetPreferredSize(Graphics,Font,Object) Method
GDI+ graphics surface
Font
Value


In This Topic
    GetPreferredSize(Graphics,Font,Object) Method
    In This Topic
    Gets the size to display the text in the hyperlink control.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetPreferredSize( _
       ByVal g As Graphics, _
       ByVal font As Font, _
       ByVal value As Object _
    ) As SizeF
    'Usage
     
    
    Dim g As Graphics
    Dim font As Font
    Dim value As Object
    Dim value As SizeF
     
    value = FpHyperlink.GetPreferredSize(g, font, value)
    public static SizeF GetPreferredSize( 
       Graphics g,
       Font font,
       object value
    )

    Parameters

    g
    GDI+ graphics surface
    font
    Font
    value
    Value
    See Also