Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SizeMode Property
See Also 
Leadtools.WinForms Namespace > RasterPictureBox Class : SizeMode Property



Determines how the control displays the image and whether it automatically adjusts the display rectangles.

Syntax

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

Return Value

Value which determines how the control displays the image and whether it automatically adjusts the display rectangles.

Example

Refer to RasterPictureBox.

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