Close
Relief for ODA Team in Ukraine
Learn more
ODA Drawings SDK
API Reference
>
OdDb Classes
>
OdDbVisualStyle Class
>
OdDbVisualStyle Methods
>
setTrait Method
>
OdDbVisualStyle::setTrait Method (OdGiVisualStyleProperties::Property, OdInt32, OdGiVisualStyleOperations::Operation)
OdDbVisualStyle::setTrait Method (OdGiVisualStyleProperties::Property, OdInt32, OdGiVisualStyleOperations::Operation)
Syntax
C++
void
setTrait
(OdGiVisualStyleProperties::Property
prop
, OdInt32
nVal
, OdGiVisualStyleOperations::Operation
op
= OdGiVisualStyleOperations::kSet);
Description
Sets an integer property of the visual style.
Parameters
Parameters
Description
prop
[in] OdGiVisualStyleProperties::Property to set.
nVal
[in] Integer property value to set.
op
[in] OdGiVisualStyleOperations::Operation to use for setting the property.
Links
OdDbVisualStyle Class
Was this documentation helpful?
We are sorry. Please tell us what we can improve.
*
Great! Please provide additional feedback.
(Optional)
Thank you for your feedback!
Please wait...
Something went wrong!