THotPDF.AddImageWithMask Method
Rezumatul metodei: THotPDF.AddImageWithMask Method
Declarație
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
Unitate
HPDFDoc
Parametri
| Nume | Scop |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Valoare de întoarcere
Image resource index for the masked image
Note de utilizare
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
API-uri asociate
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents