Table of Contents

Method CreateFromSelection

Namespace
VectorDraw.Professional.vdObjects
Assembly
VectorDraw.Professional.dll

CreateFromSelection(vdSelection)

Creates and returns a new vdDocument contaning all vdFigure objects from a vdSelection object.

public vdDocument CreateFromSelection(vdSelection set)

Parameters

set vdSelection

The vdSelection collection from which the vdFigure objects will be taken from.

Returns

vdDocument

A new created vdDocument containing at it's model all the vdFigure objects of the passed vdSelection object.

Remarks

All table dependecies such as vdTextstyle , vdBlock, vdLayer, vdLineType, vdImageDef, vdDimstyle objects that reference figures in the selection are also added in the document object.

See Also