←Select platform

Position Property

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Controls Assembly