THotPDF.AddImageWithMask Method
Metodsammanfattning: THotPDF.AddImageWithMask Method
Deklaration
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
Enhet
HPDFDoc
Parametrar
| Namn | Syfte |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Returvärde
Image resource index for the masked image
Användningsanteckningar
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
Relaterade API:er
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method