THotPDF.AddImageAsMaskFromFile Method

AddImageAsMaskFromFile lädt eine Bilddatei und registriert sie als PDF-Bild-XObject /ImageMask

Deklaration

function AddImageAsMaskFromFile(FileName: TFileName; Compression: THPDFImageCompressionType= icFlate): Integer;

Usage

Use the returned image index as the MaskIndex for THotPDF.AddImageWithMaskFromFile or the image overloads that accept a mask index

The helper is the C++Builder-facing file-name counterpart of AddImageAsMask and avoids passing the low-level IsMask flag manually

Verwandte APIs