Skip to content

Latest commit

 

History

History
63 lines (52 loc) · 1.72 KB

File metadata and controls

63 lines (52 loc) · 1.72 KB

SetTileBackgroundColor

Description

Sets the specified tile resource's background color.

PROCEDURE SetTileBackgroundColor(
				tileHandle      : HANDLE;
				backgroundColor : LONGINT);
def vs.SetTileBackgroundColor(tileHandle, backgroundColor):
    return None

Parameters

Name Type Description
tileHandle HANDLE The tile resource in which to set the background color.
backgroundColor LONGINT The RGB background color to set.

Examples

SetTileBackgroundColor(tileHandle, backgroundColor);
SetTileBackgroundColor(tileHandle, 1);
import vs

# Sets the specified tile resource's background color.
tileHandle = vs.FSActLayer()  # handle to the first selected object on the active layer
backgroundColor = 5

vs.SetTileBackgroundColor(tileHandle, backgroundColor)

See Also

VS Functions: CreateTile | ShowEditTileDialog | ShowEditTileSettingsDialog | ShowNewTileDialog | GetTileGeometryGroup | BeginGroupN | AddTileGeometryObject | GetTileGroupParent | IsTileGroupContainedObject | GetTileBackgroundColor | SetTileBackgroundColor | GetTileRepetitionPoint | SetTileRepetitionPoint | GetTileOffsetPoint | SetTileOffsetPoint

Version

Availability: from Vectorworks 2011

Category