THotPDF.AddImageWithMask Method
方法摘要: THotPDF.AddImageWithMask Method
声明
function AddImageWithMask(Image: TGraphic; MaskIndex: Integer; Compression: THPDFImageCompressionType = icJpeg): Integer;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Image | Graphic object used as the visible image source |
MaskIndex | Image index of the mask resource |
Compression | Compression used for the visible image |
返回值
Image resource index for the masked image
使用说明
- Create the mask first with THotPDF.AddImageAsMask
- Keep the mask and visible image dimensions compatible for predictable transparency
相关 API
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents