←Select platform

ImageViewerAddRegionInteractiveMode Constructor

Summary

Initializes a new instance of ImageViewerAddRegionInteractiveMode.

Remarks

This constructor sets the value of AutoItemMode to AutoSet
to ImageViewerItemPart.Image since it will work on the image of an item by default.

Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
 
_imageViewer.InteractiveModes.BeginUpdate(); 
_imageViewer.InteractiveModes.Add(new ImageViewerAddRegionInteractiveMode 
{ 
   IsEnabled = true, 
   Shape = ImageViewerRubberBandShape.Rectangle 
}); 
 
_imageViewer.InteractiveModes.EndUpdate(); 
Requirements

Target Platforms

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

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