Close

Relief for ODA Team in Ukraine

Learn more
ODA Drawings SDK
OdDbLayerTableRecord::transparency Method ()
Syntax
C++
OdCmTransparency transparency() const;

Returns the transparency for the layer record object (as XData). This transparency is used when the Transparency property of an entity belonged to the layer is set to the byLayer value. The actual transparency value can depend on the viewport in which the entity is rendered.

The same layer can have different transparencies in different viewports. Therefore this method is overdriven. The method without arguments returns the own transparency of the layer.

Example of Working with the Layer Record Object 

Specific Properties of Layers 

OdDbLayerTableRecord::setTransparency() methods

Copyright © 2002-2022. Open Design Alliance All rights reserved.