Nevron .NET Vision
Nevron.Diagram.Batches Namespace / NBatchDecompose Class / Decompose Method
composite in which to add the new shapes (can be null)
whether the transaction should be rolled back if some of the shapes cannot be decomposed
the newly created primitive shapes


In This Topic
    Decompose Method (NBatchDecompose)
    In This Topic
    Creates a new primitive shape for each primitive model contained in the batch shapes, and destroys the batch shapes. Optionally adds the new shapes to the specified composite (if it is provided)
    Syntax
    'Declaration
     
    
    Public Overridable Function Decompose( _
       ByVal composite As INDiagramElementComposite, _
       ByVal rollbackOnFail As System.Boolean, _
       ByRef primitiveShapes As NNodeList _
    ) As NTransactionResult
    'Usage
     
    
    Dim instance As NBatchDecompose
    Dim composite As INDiagramElementComposite
    Dim rollbackOnFail As System.Boolean
    Dim primitiveShapes As NNodeList
    Dim value As NTransactionResult
     
    value = instance.Decompose(composite, rollbackOnFail, primitiveShapes)

    Parameters

    composite
    composite in which to add the new shapes (can be null)
    rollbackOnFail
    whether the transaction should be rolled back if some of the shapes cannot be decomposed
    primitiveShapes
    the newly created primitive shapes

    Return Value

    batch result
    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