THotPDF.AddImageAsMask Method
方法摘要: THotPDF.AddImageAsMask Method
声明
function AddImageAsMask(Image: TGraphic; Compression: THPDFImageCompressionType = icFlate): Integer;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Image | Graphic object used as the mask source |
Compression | Compression used for the stored mask image |
返回值
Image resource index for the generated mask
使用说明
- Use the returned index as the mask handle for THotPDF.AddImageWithMask
- Use the file-name overload when the mask is already stored on disk