Leadtools.Silverlight.Controls Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SizeMode Property
See Also 
Leadtools.Silverlight.Controls Namespace > ImageViewer Class : SizeMode Property





Determines how the ImageViewer displays the image.

Syntax

Visual Basic (Declaration) 
Public Property SizeMode As PaintSizeMode
Visual Basic (Usage)Copy Code
Dim instance As ImageViewer
Dim value As PaintSizeMode
 
instance.SizeMode = value
 
value = instance.SizeMode
C# 
public PaintSizeMode SizeMode {get; set;}
C++/CLI 
public:
property PaintSizeMode SizeMode {
   PaintSizeMode get();
   void set (PaintSizeMode value);
}
XAML Attributes Usage 

<object SizeMode=PaintSizeMode .../>

Dependencies Property Information 

Identifier field

SizeModeProperty

XAML Attributes Usage 

<object SizeMode=PaintSizeMode .../>

Dependencies Property Information 

Identifier field

SizeModeProperty

Return Value

Value which determines how the ImageViewer displays the image.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

SizeMode requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features