TdxSplashFormBase.TCustomImage.TSizeMode Enum
Declaration
TSizeMode = (
UseImageDimensions,
StretchImage,
ProportionalStretchImage
);
Members
| Name | Description | Example |
|---|---|---|
UseImageDimensions
|
An image is not resized. In this mode, widget area dimensions are adjusted automatically to match the original image size. This option is recommended for raster image formats. |
|
StretchImage
|
Default. An image is resized to fill the widget area. This option ignores the original image aspect ratio. |
|
ProportionalStretchImage
|
An image is resized to fill the widget area. The image maintains the original aspect ratio and is centered within the widget area. |
|
Remarks
Animation and Image widgets can use original image dimensions or resize the displayed image to fill the client area.
Note
TdxSplashFormBase.TCustomImage.TSizeMode is a scoped enumeration type. Use the full type name together with a scope resolution token (. in Delphi or :: in C++Builder) followed by an enumeration value to refer to this value. For example, use TdxSplashFormBase.TCustomImage.TSizeMode.ProportionalStretchImage (in Delphi) or TdxSplashFormBase::TCustomImage::TSizeMode::ProportionalStretchImage (in C++Builder) to refer to the ProportionalStretchImage value in code.
Direct TdxSplashFormBase.TCustomImage.TSizeMode Type Reference
The TdxSplashFormBase.TCustomImage.SizeMode property references the TdxSplashFormBase.TCustomImage.TSizeMode type.


