Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.8.31
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


Syntax

Visual Basic (Declaration) 
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")>
Public Class RasterImagePanViewer 
   Inherits UserControl
Visual Basic (Usage)Copy Code
Dim instance As RasterImagePanViewer
C# 
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")]
public class RasterImagePanViewer : UserControl 
Managed Extensions for C++ 
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")]
public __gc class RasterImagePanViewer : public UserControl 
C++/CLI 
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")]
public ref class RasterImagePanViewer : public UserControl 

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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also