Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
ScrollPosition Property
See Also 
Leadtools.Web.Controls Namespace > WebImageViewer Class : ScrollPosition Property




Gets or sets the scroll bar position.

Syntax

Visual Basic (Declaration) 
Public Property ScrollPosition As Point
Visual Basic (Usage)Copy Code
Dim instance As WebImageViewer
Dim value As Point
 
instance.ScrollPosition = value
 
value = instance.ScrollPosition
C# 
public Point ScrollPosition {get; set;}
Managed Extensions for C++ 
public: __property Point get_ScrollPosition();
public: __property void set_ScrollPosition( 
   Point value
);
C++/CLI 
public:
property Point ScrollPosition {
   Point get();
   void set (Point value);
}

Return Value

A Point structure that represents the scroll bar position, in pixels.

Example

Requirements

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

See Also