THotPDF.AddImageWithMask Method
Methodenzusammenfassung: THotPDF.AddImageWithMask Method
Deklaration
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
Unit
HPDFDoc
Parameter
| Name | Zweck |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Rückgabewert
Image resource index for the masked image
Verwendungshinweise
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
Verwandte APIs
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents