Skip to main content
All docs
V24.1

TdxGPImage.DefaultImageExifAutoRotation Property

Specifies the global default EXIF image rotation setting for all image editors and containers.

Declaration

class property DefaultImageExifAutoRotation: Boolean read; write;

Property Value

Type Description
Boolean

True (default) if the global EXIF image rotation setting is enabled; otherwise, False.

Remarks

The DefaultImageExifAutoRotation class property specifies if the EXIF image rotation functionality is enabled at the global level. If the DefaultImageExifAutoRotation class property is set to True, the automatic EXIF image rotation is enabled in all components whose following properties are set to bDefault:

TdxGPImage.ExifAutoRotation
Specifies if the image container rotates the stored image based on EXIF metadata.
TdxCustomImageProperties.ExifAutoRotation
Specifies if the image editor rotates an image based on EXIF metadata.

Code Example: Disable EXIF Image Rotation Globally

The following code example disables the global EXIF image rotation setting:

uses
  dxGDIPlusClasses;
// ...
  TdxGPImage.DefaultImageExifAutoRotation := False;

Default Value

The DefaultImageExifAutoRotation property’s default value is True.

See Also