←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 
public enum class RasterPictureBoxSizeMode sealed 
Members

0

Normal

(0) Normal, no sizing

1

StretchImage

(1) Fit the image to fill the destination rectangle. The aspect ratio might not be maintained.

2

AutoSize

(2) Perform automatic sizing.

3

CenterImage

(3) Center the image in the middle of the destination rectangle.

4

Fit

(4) Fit and Center the image in the middle of the destination rectangle.

Requirements

Target Platforms
See Also

Reference

Leadtools.Controls Namespace

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

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.