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





This member is available in the WPF Express Edition. See the LEADTOOLS products page for full details on more WPF features available with LEADTOOLS toolkits.

Determines how the BitmapSourceViewer displays the image. This is a dependency property.

Syntax

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

<object SizeMode=PaintSizeMode .../>

Dependency Property Information 

Identifier field

SizeModeProperty

Metadata properties set to true

None

Return Value

Value which determines how the BitmapSourceViewer displays the image.

Example

For XAML example, refer to BitmapSourceViewer.

For C#/VB examples, refer to BitmapSourceViewer.

Requirements

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

See Also