Points Property

Summary

Returns the current interactive mode points.

Syntax

C#
C++/CLI
public IList<Point> Points { get; } 
public:  
   property IList<Point^>^ Points 
   { 
      IList<Point^>^ get() 
   } 

Property Value

The current interactive mode points.

Example

C#
using Leadtools.WinForms; 
using Leadtools; 
using Leadtools.Codecs; 
using Leadtools.ImageProcessing.Color; 
using Leadtools.Drawing; 
 
private void viewer_InteractiveRegionFreehand(object sender, RasterViewerPointsEventArgs e) 
{ 
   Console.WriteLine("InteractiveRegionFreehand: PointCount {0} e.Status {1}, e.Cancel {2}", e.Points.Count, e.Status, e.Cancel); 
} 
 
public void RasterImageViewer_InteractiveRegionFreehand(RasterImageViewer viewer) 
{ 
   viewer.InteractiveMode = RasterViewerInteractiveMode.Region; 
   viewer.InteractiveRegionType = RasterViewerInteractiveRegionType.Freehand; 
   viewer.InteractiveRegionFreehand += new EventHandler<RasterViewerPointsEventArgs>(viewer_InteractiveRegionFreehand); 
 
   // Draw the mouse on image to draw an elliptical region 
   // After you are done, you must remove the event handler as in below 
   // 
   // viewer.InteractiveRegionFreehand -= new EventHandler<RasterViewerPointsEventArgs>(viewer_InteractiveRegionFreehand); 
} 

Requirements

Target Platforms

See Also

Reference

RasterViewerPointsEventArgs Class

RasterViewerPointsEventArgs Members

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

Leadtools.WinForms Assembly

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