←Select platform

RasterPictureBoxSizeMode Enumeration

Summary

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

Syntax

C#
VB
C++
public enum RasterPictureBoxSizeMode 
  
Public Enum RasterPictureBoxSizeMode  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
public enum class RasterPictureBoxSizeMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.WinForms Assembly