THotPDF.AddImageWithMask Method
Riepilogo del metodo: THotPDF.AddImageWithMask Method
Dichiarazione
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
UnitÃ
HPDFDoc
Parametri
| Nome | Scopo |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Valore restituito
Image resource index for the masked image
Note d'uso
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
API correlate
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents