Search Results for

    Show / Hide Table of Contents

    TImageUtils.GetJPEGOrientation Method

    This function returns the orientation specific to a JPEG file. FlexCel will automatically rotate the images you add with AddImage (same as Excel does), but it will not rotate the images you enter in the headers/footers or if you replace an existing image. In those cases, you can use this method to know if the image needs to be rotated before entering it.

    Syntax

    Unit: FlexCel.Core

    class function TImageUtils.GetJPEGOrientation(const data: TBytes): TJpegOrientation; static;

    Parameters

    <-> Parameter Type Description
    const data TBytes Image data.

    Returns

    Orientation of the JPEG file.

    See also

    • TImageUtils
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com