Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.19 KB

File metadata and controls

44 lines (35 loc) · 1.19 KB

SetGradientSliderSelectedMarker

Description

Sets the selected marker for the specified gradient slider.

Note: use the number, 1, to specify a color marker and the number, 2, to specify a midpoint marker.

PROCEDURE SetGradientSliderSelectedMarker(
				dialogID     : LONGINT;
				componentID  : LONGINT;
				segmentIndex : INTEGER;
				markerType   : INTEGER);
def vs.SetGradientSliderSelectedMarker(dialogID, componentID, segmentIndex, markerType):
    return None

Parameters

Name Type Description
dialogID LONGINT Index to the dialog layout that contains the gradient slider component.
componentID LONGINT Index to a specific gradient slider component.
segmentIndex INTEGER Index to segment in which to select marker.
markerType INTEGER Type of marker to select.

Examples

VectorScript

SetGradientSliderSelectedMarker(dialogID, componentID, 4, 2);
{ selects midpoint marker in segment with index of 4 }

Python

Version

Availability: from VectorWorks10.0

Category