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


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