THotPDF.AddImageWithMask Method
Yöntem özeti: THotPDF.AddImageWithMask Method
Bildirim
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
Birim
HPDFDoc
Parametreler
| Ad | Amaç |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Dönüş değeri
Image resource index for the masked image
Kullanım notları
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
İlgili API'ler
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents