LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)
LEAD Technologies, Inc

Position Property (ImagePanViewer)






Gets or sets the current pan rectangle position. .NET support Silverlight support
Syntax
public Point Position {get; set;}
'Declaration
 
Public Property Position As Point
'Usage
 
Dim instance As ImagePanViewer
Dim value As Point
 
instance.Position = value
 
value = instance.Position
public Point Position {get; set;}
 get_Position();
set_Position(value);
public:
property Point Position {
   Point get();
   void set (    Point value);
}

Property Value

A System.Windows.Point that indicates the current top-left position of the pan rectangle. This value is updated whenever the user moves the pan rectangle with the mouse. Default value is 0,0.
Remarks

Use this property to inspect the current pan position. You can also use it to programatically change the current pan position.

Example

For XAML example, refer to ImagePanViewer.

For C#/VB examples, refer to ImagePanViewer.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ImagePanViewer Class
ImagePanViewer Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.