API Reference > OdDb Classes > OdDbLinetypeTableRecord Class > OdDbLinetypeTableRecord Methods > OdDbLinetypeTableRecord::setShapeOffsetAt Method
OdDbLinetypeTableRecord::setShapeOffsetAt Method
Syntax
C++
void setShapeOffsetAt(int dashIndex, const OdGeVector2d& shapeOffset);
Parameters 
Description 
int dashIndex 
[in] Dash index as an Integer value in range [0 <= dashIndex < numDashes].  
const OdGeVector2d& shapeOffset 
[in] Offset as an instance of the two-dimensional vector object. 

Sets the inclusion offset inside the dash at the specified index (DXF 44, 45). This offset specifies the two-dimensional displacement to the insertion point of an inclusion relative to the end of the current dash that contains the text or shape. 

 

Example of Working with the Linetype Dash 

Working with the Linetype Pattern 

OdDbLinetypeTableRecord::shapeOffsetAt() method

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