LEADTOOLS WebForms and AJAX (Leadtools.Web assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
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);
}

Property 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 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also