Table of Contents

Method MergeTables

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

MergeTables(vdDocument, bool, bool)

Merges all tables (table objects like layers, blocks, textstyles etc.) from another document to this document.

public bool MergeTables(vdDocument document, bool mergeLayouts, bool replaceExist)

Parameters

document vdDocument

The document from where the tables will be copied.

mergeLayouts bool

If this value is true then Model and all Layouts of document will be copied.

replaceExist bool

If this value is true then for example if a layer has the same name with one to this document then this layer will be replaced from the parameter's layer.

Returns

bool

True if the operation was succesfull.

Remarks

Group tables are not matched.

MergeTables(vdDocument, bool, MergeTablesFlags)

Merges all tables (table objects like layers, blocks, textstyles etc.) from another document to this document.

public bool MergeTables(vdDocument document, bool mergeLayouts, vdDocument.MergeTablesFlags mergeflags)

Parameters

document vdDocument

The document from where the tables will be copied.

mergeLayouts bool

If this value is true then Model and all Layouts of document will be copied.

mergeflags vdDocument.MergeTablesFlags

Controls how the tables with same name are imported into to another document.

Returns

bool

True if the operation was succesfull.

Remarks

Group tables are not matched.