←Select platform

Position Property (ImagePanViewer)

Summary

Gets or sets the current pan rectangle position.

Syntax

C#
VB
C++
public Point Position {get; set;}
Public Property Position As Point
public: 
property Point Position { 
   Point get(); 
   void set (    Point ); 
} 

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.Controls Assembly
Click or drag to resize