Share

AcDbLayerTableRecord::transparency (AcDbObjectId&, bool&) Method

C++

AcCmTransparency transparency(
    const AcDbObjectId& viewportId, 
    bool& isOvr
) const;

Description

Queries the transparency override value for the given viewport on this layer.

Parameters

Parameters Description
viewportId AcDbObjectId of the viewport to query the layer override.
isOvr Output: true if there is a transparency override for this layer on the given viewport.

Returns

If isOvr is true, then the transaparency returned is the override for the given viewport on the layer. If isOvr is false, it is the default transparency for the given layer.

Links

AcDbLayerTableRecord

Was this information helpful?