←Select platform

RasterImagePanViewer Class

Summary

Represents a Leadtools RasterImagePanViewer control for displaying a scaled view of an image.

Syntax

C#
VB
C++
[ToolboxItemAttribute(false)] 
public class RasterImagePanViewer : UserControl 
  
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")> 
Public Class RasterImagePanViewer  
   Inherits System.Windows.Forms.UserControl 
   Implements System.ComponentModel.IComponent, System.ComponentModel.ISynchronizeInvoke, System.IDisposable, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IContainerControl, System.Windows.Forms.IDropTarget, System.Windows.Forms.IWin32Window  
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")] 
public ref class RasterImagePanViewer : public System.Windows.Forms.UserControl, System.ComponentModel.IComponent, System.ComponentModel.ISynchronizeInvoke, System.IDisposable, System.Windows.Forms.IBindableComponent, System.Windows.Forms.IContainerControl, System.Windows.Forms.IDropTarget, System.Windows.Forms.IWin32Window   

Remarks

The RasterImagePanViewer is used to display a scaled view of an image, which is also being displayed in the RasterImageViewer control at a size that would require scrolling. The RasterImagePanViewer will maintain the images aspect ratio. In the RasterImagePanViewer, a colored Pan rect will be displayed to indicate the portion of the image currently being displayed in the RasterImageViewer associated with this PanViewer control. When a user clicks inside the RasterImagePanViewer and moves the mouse, while holding down the button, the Pan rect will move with the mouse pointer. Set the Viewer property to a RasterImageViewer object to be panned.

Example

Refer to Viewer example.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly