'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)
public virtual Rectangle GetDisplayRectangle( DrawingObject drawingObject, Rectangle paintingRectangle, bool applyRightToLeft, bool 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