TcxImageFitMode Enum
Enumerates size calculation options used to fit an image into an area.
#Declaration
TcxImageFitMode = (
ifmNormal,
ifmStretch,
ifmProportionalStretch,
ifmFit,
ifmFill
);
#Members
Name | Description |
---|---|
ifm
|
An image does not resize. The image is cropped if it does not fit into the target area. |
ifm
|
An image stretches or shrinks to fill the target area. This mode ignores the image’s original aspect ratio. |
ifm
|
A centered image stretches or shrinks to fill the target area. The image maintains its aspect ratio in this mode and can leave portions of the target area blank. |
ifm
|
An image does not resize if it fits into the target area. Otherwise, the image proportionally shrinks to fit into the area. |
ifm
|
A centered image stretches to fill the target area. The image maintains its aspect ratio and can leave portions of the target area blank as in proportional stretch mode. |
#Remarks
The following properties reference the TcxImageFitMode type: