Search Results for

    Show / Hide Table of Contents

    TXlsFile.AddImage Method

    Adds an image to the active sheet. Note that for SVG images, xlsx files store both a PNG and SVG image. To enter an SVG image, use TExcelFile.AddImageAlternate

    Syntax

    Unit: FlexCel.XlsAdapter

    procedure TXlsFile.AddImage(const data: TBytes; const imageType: TXlsImgType; imageProperties: IImageProperties); overload; override;

    Parameters

    <-> Parameter Type Description
    const data TBytes byte array with the image data.
    const imageType TXlsImgType Type of image you are inserting (bmp, jpg, etc).
    imageProperties IImageProperties Placement and other properties of the image.

    See also

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