API Reference > OdDb Classes > OdDbLayerTableRecord Class > OdDbLayerTableRecord Methods > plotStyleName Method > OdDbLayerTableRecord::plotStyleName Method (OdDbObjectId&, bool*)
OdDbLayerTableRecord::plotStyleName Method (OdDbObjectId&, bool*)
Syntax
C++
OdString plotStyleName(const OdDbObjectId& idViewport, bool* pIsOverride = 0) const;
Parameters 
Description 
const OdDbObjectId& idViewport 
[in] Object ID of the viewport for which the plot style ID should be obtained.  
bool* pIsOverride = 0 
[out] Pointer to the Boolean variable in which this method saves the result: True if it is the specific plot style previously specified for the viewport, or False if it is own plot style and the layer does not store a plot style for the specified viewport. 

Retuns the name of the plot style associated with the layer record object (DXF 390). This plot style is used when the PlotStyle property of an entity belonged to this layer is set to ByLayer value. The actual plot style can depend on the viewport in which the entity is rendered. 

 

Specific Properties of Layers 

OdDbLayerTableRecord::plotStyleNameId(), OdDbLayerTableRecord::setPlotStyleName() methods

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