Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLeader::setAnnotationOffset Method
Syntax
C++
virtual void setAnnotationOffset(const OdGeVector3d& offset);

Sets the annotation offset of this leader (DXF 213). 

 

Parameters
Description
offset
[in] Annotation offset.

The annotation offset determines the final leader endpoint of this Leader entity 

 

annoType()
Final Leader Endpoint
kMText
annotationOffset() + OdGeVector3d(± dimgap(), 0, 0) + OdDbMText::location()
kFcf
annotationOffset() + OdGeVector3d(± dimgap(), 0, 0) + OdDbFcf::location()
kBlockRef
annotationOffset() + OdDbBlockReference::position()
kNoAnno
lastVertex()

 

dimgap() is added if isHookLikeOnXDir() is true, subtracted if it is false.

Copyright © 2002-2022. Open Design Alliance All rights reserved.