←Select platform

ImageViewerPanControl Constructor

Summary

Initializes a new instance of ImageViewerPanControl with default values.

Syntax
C#
C++/CLI
Example
C#
using Leadtools; 
using Leadtools.Controls; 
using Leadtools.Codecs; 
using Leadtools.Drawing; 
 
using Leadtools.ImageProcessing; 
using Leadtools.ImageProcessing.Color; 
 
PictureBox control = new PictureBox(); 
control.Width = 400; 
control.Dock = DockStyle.Left; 
_control.Controls.Add(control); 
 
control.BringToFront(); 
_imageViewer.BringToFront(); 
 
ImageViewerPanControl panControl = new ImageViewerPanControl(); 
panControl.EnablePan = true; 
panControl.BorderPen = Pens.Yellow; 
//panControl.InsideBrush = new SolidBrush(Color.FromArgb(128, 0, 0, 0)); 
panControl.OutsideBrush = new SolidBrush(Color.FromArgb(128, 0, 0, 0)); 
panControl.WorkingCursor = Cursors.Hand; 
panControl.Control = control; 
 
panControl.ImageViewer = _imageViewer; 
Requirements

Target Platforms

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

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