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


In This Topic
    GetDrawingStringFormat Method (SuperEditBase)
    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 SuperEditBase
    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