THotPDF.AddImageWithMask Method
Sažetak metode: THotPDF.AddImageWithMask Method
Deklaracija
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
Unit
HPDFDoc
Parametri
| Name | Svrha |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Povratna vrijednost
Image resource index for the masked image
Napomene za uporabu
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
Povezani API-ji
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents