Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Drawing Namespace / WorksheetDrawing Class / GetPaintRect Method
The DrawingObject
The zoom scale.


In This Topic
    GetPaintRect Method
    In This Topic
    Get the boundary where the shape will be painted.
    Syntax
    'Declaration
     
    
    Public Overridable Function GetPaintRect( _
       ByVal shape As DrawingObject, _
       ByRef zoomScale As Double _
    ) As Rectangle
    'Usage
     
    
    Dim instance As WorksheetDrawing
    Dim shape As DrawingObject
    Dim zoomScale As Double
    Dim value As Rectangle
     
    value = instance.GetPaintRect(shape, zoomScale)
    public virtual Rectangle GetPaintRect( 
       DrawingObject shape,
       out double zoomScale
    )

    Parameters

    shape
    The DrawingObject
    zoomScale
    The zoom scale.
    See Also