Gets or sets the size of the scroll bar used if the image to be displayed is greater than the
control client area.
Syntax
Visual Basic (Declaration) | |
---|
Public Property ScrollBarSize As Integer |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As ImageViewer
Dim value As Integer
instance.ScrollBarSize = value
value = instance.ScrollBarSize
|
C# | |
---|
public int ScrollBarSize {get; set;} |
Managed Extensions for C++ | |
---|
public: __property int get_ScrollBarSize();
public: __property void set_ScrollBarSize(
int value
); |
C++/CLI | |
---|
public:
property int ScrollBarSize {
int get();
void set (int value);
} |
Return Value
The size of the scroll bar.
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