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


In This Topic
    GetDisplayRectangle(DrawingObject) Method
    In This Topic
    Gets the preferred display rectangle of the specified drawing object.
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Function GetDisplayRectangle( _
       ByVal drawingObject As DrawingObject _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim drawingObject As DrawingObject
    Dim value As Rectangle
     
    value = instance.GetDisplayRectangle(drawingObject)
    public virtual Rectangle GetDisplayRectangle( 
       DrawingObject drawingObject
    )

    Parameters

    drawingObject
    The drawing object.

    Return Value

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