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
API ที่เกี่ยวข้อง
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents