THotPDF.AddImageWithMask Method
Resumen del método: THotPDF.AddImageWithMask Method
Declaración
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
Unidad
HPDFDoc
Parámetros
| Nombre | Propósito |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
Valor de retorno
Image resource index for the masked image
Notas de uso
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
APIs relacionadas
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents