THotPDF.AddImageAsMaskFromFile Method
AddImageAsMaskFromFile charge un fichier image et l’enregistre comme XObject image PDF /ImageMask
Déclaration
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
API associées
- THotPDF.AddImage
- PDF filter support