Skip to content

Latest commit

 

History

History
43 lines (33 loc) · 796 Bytes

File metadata and controls

43 lines (33 loc) · 796 Bytes

HGetLayerTransp

Description

Get the transparency of the specified layer.

FUNCTION HGetLayerTransp(hLayer : HANDLE): REAL;
def vs.HGetLayerTransp(hLayer):
    return REAL

Parameters

Name Type Description
hLayer HANDLE Handle to the layer.

Examples

resultVal := HGetLayerTransp(hLayer);
import vs

# Get the transparency of the specified layer.
hLayer = vs.ActLayer()  # handle to the active design layer

value = vs.HGetLayerTransp(hLayer)
vs.Message('HGetLayerTransp returned: ' + str(value))

See Also

VS Functions: HSetLayerTransp | GetLayerTransparency

Version

Availability: from Vectorworks 2013

Category