Leadtools.WinForms Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
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 Enum
Visual Basic (Usage)Copy Code
Dim instance As RasterPictureBoxSizeMode
C# 
public enum RasterPictureBoxSizeMode : Enum 
C++/CLI 
public enum class RasterPictureBoxSizeMode : public Enum 

Members

MemberDescription
Normal Normal, no sizing
StretchImage Fit the image to fill the destination rectangle. The aspect ratio might not be maintained.
AutoSize Perform automatic sizing.
CenterImage Center the image in the middle of the destination rectangle.
Fit Fit and Center the image in the middle of the destination rectangle.

Inheritance Hierarchy

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

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