Method Compare
- Namespace
- VectorDraw.Professional.vdObjects
- Assembly
- VectorDraw.Professional.dll
Compare(vdDocument)
Compares this document's Model Entities with the passed document.
public IvdCompareResults Compare(vdDocument with)
Parameters
withvdDocumentThe document to compare with this document.
Returns
- IvdCompareResults
An IvdCompareResults object containing information about the comparison results, including exclusive, common, modified, and incomparable entities from both documents.
Remarks
Double value properties are compared using the CompareDocumentSettings DecimalPrecision, which defaults to 8.
See CollectionLimit for how it affects entity comparison.
The following entity types cannot be compared:
- vdViewport
- vdLight
- vdIFC object types
- Custom user-developed objects (unless they override GetCompareHash())
It is recommended to compare drawings of the same type/extension for best results.