THotPDF.AddImageWithTransparency Method

Ringkasan metode: THotPDF.AddImageWithTransparency Method

Deklarasi

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

Unit

HPDFDoc

Parameter

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

Nilai balik

Image resource index for the transparent image

Catatan penggunaan

API terkait