API Reference > OdDb Classes > OdDbLayerTableRecord Class > OdDbLayerTableRecord Methods > setTransparency Method
setTransparency Method

This is the overview for the setTransparency method overload.

 
Name 
Description 
 
Sets the transparency for the layer record object (as XData) and returns eOk if successful. This transparency is used when the Transparency property of an entity belonged to this layer is set to byLayer value. The initial value is byAlpha = 100% value (solid) by default. The same entity can be rendered using different transparencies in different viewports.
 
 
Sets the transparency for the layer record object (as XData). This transparency is used when the Transparency property of an entity belonged to this layer is set to byLayer value. The initial value is byAlpha = 100% value (solid) by default. The same entity can be rendered using different transparencies in different viewports.
 
Copyright © 2002–2021. Open Design Alliance. All rights reserved.