Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / Shape Class / GetTextRectangle Method
The zoom scale that also count dpi.


In This Topic
    GetTextRectangle Method (Shape)
    In This Topic
    Gets the virtual paint rectangle of the text part of a shape.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetTextRectangle( _
       ByVal shapeRect As Rectangle, _
       Optional ByVal zoomScale As Double _
    ) As Rectangle
    'Usage
     
    
    Dim instance As Shape
    Dim shapeRect As Rectangle
    Dim zoomScale As Double
    Dim value As Rectangle
     
    value = instance.GetTextRectangle(shapeRect, zoomScale)
    public virtual Rectangle GetTextRectangle( 
       Rectangle shapeRect,
       double zoomScale
    )

    Parameters

    shapeRect
    zoomScale
    The zoom scale that also count dpi.

    Return Value

    A GrapeCity.Drawing.Rectangle value represents the painting rectangle of the text part.
    See Also