THotPDF.AddImageWithTransparency Method

Résumé de la méthode: THotPDF.AddImageWithTransparency Method

Déclaration

function AddImageWithTransparency(Width, Height: Integer; const RGB: array of byte; const Alpha: array of byte): Integer;

Unité

HPDFDoc

Paramètres

NomObjectif
WidthImage width in pixels
HeightImage height in pixels
RGBRGB byte array containing three bytes per pixel
AlphaAlpha byte array containing one byte per pixel

Valeur de retour

Image resource index for the transparent image

Notes d'utilisation

API associées