THotPDF.MapImage Method
将图像资源映射并添加到文档中。
Declarație
function MapImage(Image: TGraphic; Compression: THPDFImageCompressionType; IsMask: boolean; MaskIndex: Integer): Integer;
Unitate
HPDFDoc
Parametri
| Nume | Utilizare |
|---|---|
Image | 要映射的图像对象(TGraphic)。 |
Compression | 指定的图像压缩类型。 |
IsMask | 是否作为图像遮罩使用。 |
MaskIndex | 关联的遮罩索引。 |
Valoarea returnată
返回值: TGraphic - 返回图像在文档中的内部索引或引用编号。
使用说明
- 调用: THotPDF.MapImage
- 在文档级别注册图像资源,以便在多个页面中重用。
API-uri conexe
- THotPDF
- Format-Listă a unităților direcționale