THotPDF.AddImageWithMask Method

Method summary: THotPDF.AddImageWithMask Method

Declaration

function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;

Unit

HPDFDoc

Parameters

NamePurpose
ImageGraphic object used as the visible image source
MaskIndexImage index of the mask resource
CompressionCompression used for the visible image

Return value

Image resource index for the masked image

Usage notes

Related APIs