THotPDF.AddImageWithMask Method
Σύνοψη μεθόδου: THotPDF.AddImageWithMask Method
Δήλωση
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
Μονάδα
HPDFDoc
Παράμετροι
| Όνομα | Σκοπός |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Τιμή επιστροφής
Image resource index for the masked image
Σημειώσεις χρήσης
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
Σχετικά API
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents