Skip to content

Latest commit

 

History

History
46 lines (36 loc) · 884 Bytes

File metadata and controls

46 lines (36 loc) · 884 Bytes

HSetLayerTransp

Description

Set the transparency of the specified layer.

PROCEDURE HSetLayerTransp(
				hLayer       : HANDLE;
				transparency : REAL);
def vs.HSetLayerTransp(hLayer, transparency):
    return None

Parameters

Name Type Description
hLayer HANDLE Handle to the layer.
transparency REAL The transparency for the layer. Value between 0.0 and 100.0

Examples

HSetLayerTransp(hLayer, 1.0);
import vs

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

vs.HSetLayerTransp(hLayer, transparency)

See Also

VS Functions: SetLayerTransparency | HGetLayerTransp

Version

Availability: from Vectorworks 2013

Category