THotPDF.AddImageWithTransparency32 Method
Rezumatul metodei: THotPDF.AddImageWithTransparency32 Method
Declarație
function AddImageWithTransparency32(Width, Height: Integer; const Pixels: array of byte): Integer;
Unitate
HPDFDoc
Parametri
| Nume | Scop |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
Pixels | Packed 32-bit pixel byte array |
Valoare de întoarcere
Image resource index for the transparent image
Note de utilizare
- Use this API for RGBA-style buffers produced by rendering or image-processing code
- The pixel buffer length must match the supplied dimensions
API-uri asociate
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents