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


In This Topic
    GetTextRectangle Method (CellNote)
    In This Topic
    Gets the virtual paint rectangle of the text part of a shape.
    Syntax
    'Declaration
     
    
    Public Function GetTextRectangle( _
       ByVal shapeRect As Rectangle, _
       Optional ByVal zoomScale As Double _
    ) As Rectangle
    'Usage
     
    
    Dim instance As CellNote
    Dim shapeRect As Rectangle
    Dim zoomScale As Double
    Dim value As Rectangle
     
    value = instance.GetTextRectangle(shapeRect, zoomScale)
    public 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