THotPDF.AddImageAsMask Method

Adds image as mask data to the image embedding workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps

Declaration

function AddImageAsMask(Image: TGraphic; Compression: THPDFImageCompressionType= icFlate): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
ImageInput used by AddImageAsMask
CompressionInput used by AddImageAsMask

Return value

Returns an Integer value

Usage notes

Related APIs