THotPDF.AddImageWithTransparency32 Method
Metodsammanfattning: THotPDF.AddImageWithTransparency32 Method
Deklaration
function AddImageWithTransparency32(Width, Height: Integer; const Pixels: array of byte): Integer;
Enhet
HPDFDoc
Parametrar
| Namn | Syfte |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
Pixels | Packed 32-bit pixel byte array |
Returvärde
Image resource index for the transparent image
Användningsanteckningar
- Use this API for RGBA-style buffers produced by rendering or image-processing code
- The pixel buffer length must match the supplied dimensions
Relaterade API:er
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method