Spread Windows Forms 17
FarPoint.Win Assembly / FarPoint.Win Namespace / FpCombo Class / GetDrawingStringFormat Method
Rectangle for drawing text


In This Topic
    GetDrawingStringFormat Method (FpCombo)
    In This Topic
    Gets a new string format for drawing the text in the specified rectangle.
    Syntax
    'Declaration
     
    
    Protected Overridable Function GetDrawingStringFormat( _
       ByRef drawRect As Rectangle _
    ) As StringFormat
    'Usage
     
    
    Dim instance As FpCombo
    Dim drawRect As Rectangle
    Dim value As StringFormat
     
    value = instance.GetDrawingStringFormat(drawRect)
    protected virtual StringFormat GetDrawingStringFormat( 
       ref Rectangle drawRect
    )

    Parameters

    drawRect
    Rectangle for drawing text

    Return Value

    StringFormat object that contains the string format
    Remarks
    This method modifies the rectangle under certain settings.
    See Also