Click or drag to resize

ObjectDataAddingEventArgsApplyExifOrientation Property

Gets or sets a value indicating whether any EXIF (exchangeable image file format) orientation specified in the Data should be applied to image data and used as the default image orientation for the PdfObject.

Namespace:  RadPdf.Integration
Assembly:  RadPdf (in RadPdf.dll) Version: 3.48.0.0 (3.48.0.0)
Syntax
public bool ApplyExifOrientation { get; set; }

Property Value

Type: Boolean
Remarks

Setting this property to true will cause images which specify a non-zero EXIF orientation (property ID 0x112) to be decoded, the specified flip and rotation transformations applied, and then encoded again. This re-encoding of the data may cause other changes like image data quality or size changes.

If applying the EXIF orientation fails for any reason, RAD PDF silently keeps the image as-is and logs a warning (OnInternalWarning(WarningEventArgs)). To need RAD PDF to throw an exception when EXIF orientation application fails, please contact Red Software.

See Also