THotPDF.AddImageWithTransparency Method

Metodsammanfattning: THotPDF.AddImageWithTransparency Method

Deklaration

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

Enhet

HPDFDoc

Parametrar

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

Returvärde

Image resource index for the transparent image

Användningsanteckningar

Relaterade API:er