THotPDF.AddImageWithMask Method
Menetelmän yhteenveto: THotPDF.AddImageWithMask Method
Määrittely
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
Yksikkö
HPDFDoc
Parametrit
| Nimi | Tarkoitus |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Paluuarvo
Image resource index for the masked image
Käyttöhuomautukset
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
Aiheeseen liittyvät API:t
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents