index Property

Summary

Gets the index of the polygon line or thumb that has been hit.

Syntax
TypeScript
JavaScript
Object.defineProperty(PolygonEditEventArgs.prototype, 'index', 
	get: function() 
) 
index: number; // read-only 

Property Value

Value that represents the index of the polygon line or thumb that has been hit.

Remarks

The index's value is set according to the order of creation of polygon lines or thumbs. For example, if the user draws a polygon by creating a set of 2 points or more. First index is created by clicking on the image to create the first thumb or point for the polygon and its index is 0. The second thumb or point index is created by clicking somewhere else to mark the second point and its index is 1. The line that is created from the 2-points has a line index of 0 as it is the first line.

Example

Refer to PanoramicAction

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.Medical Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.