THotPDF.AddImageWithTransparency32 Method
Résumé de la méthode: THotPDF.AddImageWithTransparency32 Method
Déclaration
function AddImageWithTransparency32(Width, Height: Integer; const Pixels: array of byte): Integer;
Unité
HPDFDoc
Paramètres
| Nom | Objectif |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
Pixels | Packed 32-bit pixel byte array |
Valeur de retour
Image resource index for the transparent image
Notes d'utilisation
- Use this API for RGBA-style buffers produced by rendering or image-processing code
- The pixel buffer length must match the supplied dimensions
API associées
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents