Nevron .NET Vision
Nevron.Diagram.Visio Namespace / NVisioImporter Class / PreserveShapeHierarchy Property


In This Topic
    PreserveShapeHierarchy Property
    In This Topic
    Controls whether the importer should preserve the shape hierarchy as in the Visio stencil thus creating nested groups or to import all Visio child shapes as custom paths in a composite shape. By default set to false.
    Syntax
    'Declaration
     
    
    Public Property PreserveShapeHierarchy As System.Boolean
    'Usage
     
    
    Dim instance As NVisioImporter
    Dim value As System.Boolean
     
    instance.PreserveShapeHierarchy = value
     
    value = instance.PreserveShapeHierarchy
    public System.bool PreserveShapeHierarchy {get; set;}
    Remarks
    If you set this property to true the Visio child shapes will be imported as shapes in a group (or groups nested in a group) thus giving you a great level of control over each child shape and making it possible to use inherited styles. But note that this will also lead to higher memory consumption than the import of the Visio child shapes as custom paths in a composite shape.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also