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