Spread WPF 18
GrapeCity.Drawing Namespace / IDrawingContext Interface / MeasureVisualShape Method
The geometry shape.


In This Topic
    MeasureVisualShape Method
    In This Topic
    Measures the boundary of the specified IVisualShape object.
    Syntax
    'Declaration
     
    Function MeasureVisualShape( _
       ByVal visualShape As IVisualShape _
    ) As Rectangle
    'Usage
     
    Dim instance As IDrawingContext
    Dim visualShape As IVisualShape
    Dim value As Rectangle
     
    value = instance.MeasureVisualShape(visualShape)
    Rectangle MeasureVisualShape( 
       IVisualShape visualShape
    )

    Parameters

    visualShape
    The geometry shape.

    Return Value

    The boundary of the geometry drawing.
    See Also