Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout.Composition Namespace / Layer Class / CreateVisual Method / CreateVisual(Int32,Boolean) Method
A custom space ID. It must be positive and unique within the View.
Indicates whether a new GrapeCity.Documents.Layout.LayoutRect must be associated with the Visual.

In This Topic
    CreateVisual(Int32,Boolean) Method
    In This Topic
    Creates a Visual object that represents a drawing element.
    Syntax
    'Declaration
     
    Public Overloads Function CreateVisual( _
       ByVal id As System.Integer, _
       Optional ByVal createRect As System.Boolean _
    ) As Visual
    public Visual CreateVisual( 
       System.int id,
       System.bool createRect
    )

    Parameters

    id
    A custom space ID. It must be positive and unique within the View.
    createRect
    Indicates whether a new GrapeCity.Documents.Layout.LayoutRect must be associated with the Visual.
    See Also