Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetDisplayRectangle Method / GetDisplayRectangle(DrawingObject,Rectangle,Boolean,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,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, _
       Optional ByVal getPaintingRegionOnly As Boolean _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim drawingObject As DrawingObject
    Dim paintingRectangle As Rectangle
    Dim applyRightToLeft As Boolean
    Dim getPaintingRegionOnly As Boolean
    Dim value As Rectangle
     
    value = instance.GetDisplayRectangle(drawingObject, paintingRectangle, applyRightToLeft, getPaintingRegionOnly)

    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
    getPaintingRegionOnly
    See Also