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