thumbsGap Property

Summary

Gets or sets a value that indicates which thumb to display.

Syntax
TypeScript
JavaScript
Object.defineProperty(AnnPolylineEditDesigner.prototype, 'thumbsGap', 
	get: function(), 
	set: function(value) 
) 
thumbsGap: number; 

Property Value

A value greater than 0 that indicates which thumbs to display. The default value is 0.

Remarks

Use 0 to display all thumbs. This value does not represent the distance in pixels. Instead, it refers to the number of thumbs to skip before displaying another thumb. Possible values are:

Value Meaning
0 Show every thumb
1 Show a thumb, skip a thumb, show a thumb ...
. ...
. ...
. ...
9 Show a thumb, skip the next nine ...
. ...

... and so on.

The last thumb is always shown. Therefore, using a large value for ThumbsGap will probably result in only the first and last thumbs being shown.

If the value of AnnPolylineEditDesigner.ShowThumbs is set to false the ThumbsGap value will be ignored since the thumbs will not be shown.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly