LEADTOOLS Windows Forms (Leadtools.WinForms assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
RasterPictureBoxSizeMode Enumeration
See Also  
Leadtools.WinForms Namespace : RasterPictureBoxSizeMode Enumeration



Values which determine how the control displays the image and whether it automatically adjusts the display rectangles.

Syntax

Visual Basic (Declaration) 
Public Enum RasterPictureBoxSizeMode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterPictureBoxSizeMode
C# 
public enum RasterPictureBoxSizeMode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
public enum class RasterPictureBoxSizeMode : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
AutoSizePerform automatic sizing.
CenterImageCenter the image in the middle of the destination rectangle.
FitFit and Center the image in the middle of the destination rectangle.
NormalNormal, no sizing
StretchImageFit the image to fill the destination rectangle. The aspect ratio might not be maintained.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.WinForms.RasterPictureBoxSizeMode

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