LEADTOOLS WPF and Silverlight (Leadtools.Windows.Controls assembly)

Position Property (ImagePanViewer)

Show in webframe





Gets or sets the current pan rectangle position.
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:
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

See Also

Reference

ImagePanViewer Class
ImagePanViewer Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.