RasterViewerPointsEventArgs Constructor()

Summary

Initializes a new RasterViewerPointsEventArgs with default values.

Syntax

C#
C++/CLI
C++
public: 
RasterViewerPointsEventArgs(); 

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

Overload List

Help Version 22.0.2023.1.24
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.