Parameters |
Description |
const OdDbObjectId& idViewport |
[in] Object ID of the viewport for which the transparency value 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 transparency previously specified for the viewport, or False if it is own transparency and the layer does not store a transparency for the specified viewport. |
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 with two arguments returns the specific transparency specified for the viewport or own transparency if the specific transparency is not specified for the viewport.
Copyright © 2002–2021. Open Design Alliance. All rights reserved.
|