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
documentvdDocumentThe document from where the tables will be copied.
mergeLayoutsboolIf this value is true then Model and all Layouts of document will be copied.
replaceExistboolIf 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
documentvdDocumentThe document from where the tables will be copied.
mergeLayoutsboolIf this value is true then Model and all Layouts of document will be copied.
mergeflagsvdDocument.MergeTablesFlagsControls 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.