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




Gets or sets how the control displays the image and makes automatic adjustments to the display rectangle.

Syntax

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

Return Value

Value that determines how the control displays the image and makes automatic adjustments to the display rectangle.

Example

Refer to ImageUrl

Remarks

Default value is Normal.

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