API Reference > OdDb Classes > OdDbAnnotationScale Class > OdDbAnnotationScale Methods > OdDbAnnotationScale::matchScaleId Method
OdDbAnnotationScale::matchScaleId Method
Syntax
C++
virtual bool matchScaleId(OdIntPtr id) const;
Parameters 
Description 
OdIntPtr id 
[in] The ID to compare with the annotation scale ID. 

Returns whether a specified ID matches the annotation scale ID. 

 

This function is typically used if an Xref object that has its own annotation scale is attached to a drawing. Because the annotation scale used by the Xref object may be the same as the annotation scale used by the source drawing, this function is used to determine which annotation scale is being referenced. When referencing an annotation scale that you want saved in the drawing, do not reference the annotation scale of the Xref object since it is temporary and will be removed if the Xref object is detached or removed from the drawing.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.