API Reference > OdDg Classes > OdDgLineCodeResource Class > OdDgLineCodeResource Methods > OdDgLineCodeResource::setStroke Method
OdDgLineCodeResource::setStroke Method
Syntax
C++
bool setStroke(OdUInt32 uIndex, const OdDgLineCodeResourceStrokeData& strokeData);
Parameters 
Description 
OdUInt32 uIndex 
[in] Index of stroke.  
const OdDgLineCodeResourceStrokeData& strokeData 
[in] Stroke data value to set. 

Sets a stroke by index. 

 

Returns true if setting the stroke data value is successful.

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