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