Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetRectangle Method / GetRectangle(DrawingObject,Boolean) Method
The drawing object.


In This Topic
    GetRectangle(DrawingObject,Boolean) Method
    In This Topic
    Gets the virtual paint rectangle of the specified drawing object.
    Syntax
    'Declaration
     
    
    Public Overloads Function GetRectangle( _
       ByVal drawingObject As DrawingObject, _
       Optional ByVal getPaintingRect As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim drawingObject As DrawingObject
    Dim getPaintingRect As Boolean
    Dim value As Rectangle
     
    value = instance.GetRectangle(drawingObject, getPaintingRect)

    Parameters

    drawingObject
    The drawing object.
    getPaintingRect

    Return Value

    A GrapeCity.Drawing.Rectangle value represents the painting rectangle of the drawing object.
    See Also