Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ControlPointsGap Property
See Also 
Leadtools.Annotations Namespace > AnnPolylineEditDesigner Class : ControlPointsGap Property




Gets or sets a value that indicates which control points to display.

Syntax

Visual Basic (Declaration) 
Public Overridable Property ControlPointsGap As Integer
Visual Basic (Usage)Copy Code
Dim instance As AnnPolylineEditDesigner
Dim value As Integer
 
instance.ControlPointsGap = value
 
value = instance.ControlPointsGap
C# 
public virtual int ControlPointsGap {get; set;}
Managed Extensions for C++ 
public: __property virtual int get_ControlPointsGap();
public: __property virtual void set_ControlPointsGap( 
   int value
);
C++/CLI 
public:
virtual property int ControlPointsGap {
   int get();
   void set (int value);
}

Return Value

An integer value greater than zero that indicates which control points to display. If the value is 0 all control points will be displayed.

Remarks

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

ValueMeaning
0Show every control point.
1Show a control point, skip a control point, show a control point ...
....
....
....
9Show a control point, skip the next nine ...
....

... and so on.

Note: The last control point is always shown. Therefore, using a large value for ControlPointsGap will probably result in only the first and last control points being shown.

Note: If the value of ShowControlPoints is set to false the ControlPointsGap value will be ignored since the control points will not be shown.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features