THotPDF.AddImageWithTransparency32 Method
สรุปเมธอด: THotPDF.AddImageWithTransparency32 Method
การประกาศ
function AddImageWithTransparency32(Width, Height: Integer; const Pixels: array of byte): Integer;
ยูนิต
HPDFDoc
พารามิเตอร์
| ชื่อ | วัตถุประสงค์ |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
Pixels | Packed 32-bit pixel byte array |
ค่าที่ส่งกลับ
Image resource index for the transparent image
หมายเหตุการใช้งาน
- Use this API for RGBA-style buffers produced by rendering or image-processing code
- The pixel buffer length must match the supplied dimensions
API ที่เกี่ยวข้อง
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents