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