Leadtools.Web Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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;}
C++/CLI 
public:
property ImageViewerSizeMode SizeMode {
   ImageViewerSizeMode get();
   void set (ImageViewerSizeMode value);
}
JavaScript 
getSizeMode(): Leadtools.Web.Controls.ImageViewerSizeMode ;
setSizeMode(value: Leadtools.Web.Controls.ImageViewerSizeMode );

Return Value

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

Example

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