Visual Basic (Declaration) | |
---|---|
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")> Public Class RasterImagePanViewer Inherits System.Windows.Forms.UserControl Implements IComponent, ISynchronizeInvoke, IDisposable, IBindableComponent, IContainerControl, IDropTarget, IWin32Window |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterImagePanViewer |
C# | |
---|---|
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")] public class RasterImagePanViewer : System.Windows.Forms.UserControl, IComponent, ISynchronizeInvoke, IDisposable, IBindableComponent, IContainerControl, IDropTarget, IWin32Window |
C++/CLI | |
---|---|
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")] public ref class RasterImagePanViewer : public System.Windows.Forms.UserControl, IComponent, ISynchronizeInvoke, IDisposable, IBindableComponent, IContainerControl, IDropTarget, IWin32Window |
Refer to Viewer example.
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.
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
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7