Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout.Composition Namespace / Layer Class / CreateVisual Method / CreateVisual(Contour,Boolean) Method
A GrapeCity.Documents.Layout.Contour to be associated with the Visual.
Indicates whether a new GrapeCity.Documents.Layout.LayoutRect must be associated with the Visual.

In This Topic
    CreateVisual(Contour,Boolean) Method
    In This Topic
    Creates a Visual object that represents an element drawing the GrapeCity.Documents.Layout.Contour.
    Syntax
    'Declaration
     
    Public Overloads Function CreateVisual( _
       ByVal contour As Contour, _
       ByVal createRect As System.Boolean _
    ) As Visual
    public Visual CreateVisual( 
       Contour contour,
       System.bool createRect
    )

    Parameters

    contour
    A GrapeCity.Documents.Layout.Contour to be associated with the Visual.
    createRect
    Indicates whether a new GrapeCity.Documents.Layout.LayoutRect must be associated with the Visual.
    See Also