RasterPictureBoxSizeMode Enumeration

Summary

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

Syntax

C#
C++/CLI
C++
public enum RasterPictureBoxSizeMode 
public enum class RasterPictureBoxSizeMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   
public: 
   enum class RasterPictureBoxSizeMode sealed 

Members
ValueMemberDescription
0NormalNormal, no sizing
1StretchImageFit the image to fill the destination rectangle. The aspect ratio might not be maintained.
2AutoSizePerform automatic sizing.
3CenterImageCenter the image in the middle of the destination rectangle.
4FitFit and Center the image in the middle of the destination rectangle.

Requirements

Target Platforms

See Also

Reference

Leadtools.WinForms Namespace

Help Version 22.0.2023.1.24
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.