Spread WPF 18
GrapeCity.Drawing Namespace / IDrawingContext Interface / CreateVisualShape Method
The associated shape.
The Size that shape will be painted.


In This Topic
    CreateVisualShape Method
    In This Topic
    Prepare the visual element.
    Syntax
    'Declaration
     
    Function CreateVisualShape( _
       ByVal shape As IShape, _
       ByVal paintSize As Size _
    ) As IVisualShape
    'Usage
     
    Dim instance As IDrawingContext
    Dim shape As IShape
    Dim paintSize As Size
    Dim value As IVisualShape
     
    value = instance.CreateVisualShape(shape, paintSize)
    IVisualShape CreateVisualShape( 
       IShape shape,
       Size paintSize
    )

    Parameters

    shape
    The associated shape.
    paintSize
    The Size that shape will be painted.
    See Also