API Reference > OdDb Classes > OdDbVisualStyle Class
OdDbVisualStyle Class
OdDbVisualStyleOdDbVisualStyle
Syntax
C++
class OdDbVisualStyle : public OdDbObject;

DbVisualStyle.h

This class represents a visual style (a collection of properties) in an OdDbDatabase instance. 

 

 
Name 
Description 
 
Default constructor. 
 
Name 
Description 
 
Creates a display style of the visual style. 
 
Creates an edge style of the visual style. 
 
Creates a face style of the visual style. 
 
Creates a OdGiVisualStyle instance. 
 
Returns the description for the visual style as a string. 
 
Returns a reference to a display style of the visual style. 
 
Returns a pointer to the OdGiDrawable for the object. If the object doesn't have an associated OdGiDrawable object, this function returns NULL. 
 
Reads the .dwg file data of this object.
 
 
Writes the .dwg file data of this object.
 
 
Reads the DXF data of this object.
 
 
Writes the DXF data of this object.
 
 
Returns a reference to an edge style of the visual style. 
 
Returns a reference to a face style of the visual style. 
 
Determines whether the visual style is for internal use only. 
 
name 
Gets a name (key) of the OdGiVisualStyle object in the dictionary.
 
 
This is ODDB_DECLARE_MEMBERS, a member of class OdDbVisualStyle. 
 
Sets the description for the visual style.
 
 
Sets the display style of the visual style.
 
 
Sets the edge style of the visual style.
 
 
Sets the face style of the visual style.
 
 
Sets a flag that indicates the visual style is for internal use only.
 
 
This is the overview for the setTrait method overload. 
 
Sets a property flag for the visual style (for properties that are bitfield enumerations).
 
 
Sets the type of the visual style. All available types are defined in the OdGiVisualStyle::Type enumeration.
 
 
Sets the values of this object's subentity traits, and returns with the calling object's subentity traits.
 
 
Gets a property of the visual style and an operation that is currently used for this property.
 
 
Gets a property flag from the visual style (for properties that are bitfield enumerations).
 
 
type 
Returns the type of the visual style. All available types are defined in the OdGiVisualStyle::Type enumeration. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.