SetSegmentSelected Data Member Function

Changes the selection state of a segment in a <PathSegmentSelect> object. If the segment is selected, it then becomes part of the set of segments that will be selected or deselected as part of the <PathSegmentSelect> object's editing operation. If a segment is deselected, it is no longer part of the <PathSegmentSelect> object's segment set.

Prototype

int32 SetSegmentSelected( int32 p_nSegmentIndex, int32 p_bSelectState )

Parameters

Parameter Type Parameter Name Documentation
int32p_nSegmentIndexThe index of the segment to test.
int32p_bSelectStateA flag indicating whether to select or deselect the segment. If this value is zero, the segment will be removed from the selection set, otherwise it will be added to the selection set.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.