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.
Parameters
Parameters
Description
cmTransparency
[in] Reference to the transparency instance to be set as an Alpha-value in range 1 to 255.
Remarks
The same layer can have different transparencies in different viewports. Therefore this method is overdriven. The method with one argument sets the own transparency of the layer.