API Reference > OdCm Classes > OdCmTransparency Class > OdCmTransparency Methods > OdCmTransparency::method Method
OdCmTransparency::method Method
Syntax
C++
transparencyMethod method() const;

Returns the transparency method of the transparency object as a value of the transparencyMethod enumeration.

The transparency method can be a one of the following: 

 

Name 
Value 
Description 
kByLayer 
Transparency is specified by the layer object that the object is assigned to. 
kByBlock 
Transparency is specified by the block object that the object is contained in. 
kByAlpha 
Transparency is specified by an alpha value. 
Copyright © 2002–2020. Open Design Alliance. All rights reserved.