THotPDF.AddImageWithMaskFromFile Method
Method summary: THotPDF.AddImageWithMaskFromFile MethodAddImageWithMaskFromFile loads a colour image file and attaches a previously registered image mask through the PDF /Mask entry
Declaration
function AddImageWithMaskFromFile(FileName: TFileName; MaskIndex: Integer; Compression: THPDFImageCompressionType= icJpeg): Integer;
Usage
Create the mask with THotPDF.AddImageAsMaskFromFile or AddImageAsMask, then pass that returned index as MaskIndex
The returned image index can be drawn with THPDFPage.ShowImage
Related APIs
- THotPDF.AddImage
- PDF filter support