Visual Basic (Declaration) | |
---|---|
<ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")> Public Class RasterImagePanViewer Inherits UserControl |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")] public class RasterImagePanViewer : UserControl |
C++/CLI | |
---|---|
[ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")] public ref class RasterImagePanViewer : public UserControl |
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family