Spread Windows Forms 15.0
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetDisplayRectangle Method / GetDisplayRectangle(DrawingObject,Rectangle,Boolean) Method
The drawing object.
The rectangle where object was painted.
The boolean value checks whether RTL mode has affected on this drawingObject


In This Topic
    GetDisplayRectangle(DrawingObject,Rectangle,Boolean) 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, _
       ByVal paintingRectangle As Rectangle, _
       Optional ByVal applyRightToLeft As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim drawingObject As DrawingObject
    Dim paintingRectangle As Rectangle
    Dim applyRightToLeft As Boolean
    Dim value As Rectangle
     
    value = instance.GetDisplayRectangle(drawingObject, paintingRectangle, applyRightToLeft)

    Parameters

    drawingObject
    The drawing object.
    paintingRectangle
    The rectangle where object was painted.
    applyRightToLeft
    The boolean value checks whether RTL mode has affected on this drawingObject
    See Also