API Reference > OdDb Classes > OdDbVisualStyle Class > OdDbVisualStyle Methods > OdDbVisualStyle::traitFlag Method
OdDbVisualStyle::traitFlag Method
Syntax
C++
bool traitFlag(OdGiVisualStyleProperties::Property flagProp, OdUInt32 flagVal) const;
Parameters 
Description 
OdGiVisualStyleProperties::Property flagProp 
[in] OdGiVisualStyleProperties::Property to get.  
OdUInt32 flagVal 
[in] Flag value to get. 

true - if the flag is enabled. false - otherwise.

Gets a property flag from the visual style (for properties that are bitfield enumerations). 

 

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