LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
RasterImagePanViewer Class
See Also  Members  
Leadtools.WinForms Namespace : RasterImagePanViewer Class



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

Object Model

RasterImagePanViewer ClassRasterImageViewer Class

Syntax

Visual Basic (Declaration) 
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")>
Public Class RasterImagePanViewer 
   Inherits System.Windows.Forms.UserControl
   Implements IComponentISynchronizeInvokeIDisposableIBindableComponentIContainerControlIDropTargetIWin32Window 
Visual Basic (Usage)Copy Code
Dim instance As RasterImagePanViewer
C# 
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")]
public class RasterImagePanViewer : System.Windows.Forms.UserControl, IComponentISynchronizeInvokeIDisposableIBindableComponentIContainerControlIDropTargetIWin32Window  
C++/CLI 
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")]
public ref class RasterImagePanViewer : public System.Windows.Forms.UserControl, IComponentISynchronizeInvokeIDisposableIBindableComponentIContainerControlIDropTargetIWin32Window  

Example

Refer to Viewer example.

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.

Inheritance Hierarchy

System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.UserControl
                     Leadtools.WinForms.RasterImagePanViewer

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also