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