THotPDF.AddImageWithTransparency32 Method
Tóm tắt phương thức: THotPDF.AddImageWithTransparency32 Method
Khai báo
function AddImageWithTransparency32(Width, Height: Integer; const Pixels: array of byte): Integer;
Đơn vị
HPDFDoc
Tham số
| Tên | Mục đích |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
Pixels | Packed 32-bit pixel byte array |
Giá trị trả về
Image resource index for the transparent image
Ghi chú sử dụng
- Use this API for RGBA-style buffers produced by rendering or image-processing code
- The pixel buffer length must match the supplied dimensions
API liên quan
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents