THotPDF.AddImageWithJpegQuality Method
方法摘要: THotPDF.AddImageWithJpegQuality Method
声明
function AddImageWithJpegQuality(Image: TGraphic; Quality: TJPEGQualityRange): Integer;
单元
HPDFDoc
参数
| 名称 | 用途 |
|---|---|
Image | Graphic object used as the image source |
Quality | JPEG quality value passed to the encoder |
返回值
Image resource index for the encoded image
使用说明
- Use this overload when output size and JPEG artefacts need explicit control
- Use the file-name overload for disk-based image sources