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
API ที่เกี่ยวข้อง
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents