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




Gets or sets the display size (width or height) of the image.

Syntax

Visual Basic (Declaration) 
Public Property ImageSize As Size
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim value As Size
 
instance.ImageSize = value
 
value = instance.ImageSize
C# 
public Size ImageSize {get; set;}
Managed Extensions for C++ 
public: __property Size get_ImageSize();
public: __property void set_ImageSize( 
   Size value
);
C++/CLI 
public:
property Size ImageSize {
   Size get();
   void set (Size value);
}

Return Value

Display size (width or height) of the image.

Example

Remarks

The maximum width or height depends on the HTML standard used on the Client Internet Browser.

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