Gets or sets the scroll bar position.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ScrollPosition As Point |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As TiledImageViewer
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
); |
Return Value
A
Point structure that represents the scroll bar position, in pixels.
Example
Remarks
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