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
واجهات برمجة التطبيقات ذات الصلة
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents