THotPDF.AddImageWithMask Method

Adds image with 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 AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType= icJpeg): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
ImageInput used by AddImageWithMask
MaskIndexZero-based index or object index used to select an existing item
CompressionInput used by AddImageWithMask

Return value

Returns an Integer value

Usage notes

Related APIs