THotPDF.AddImageWithTransparency Method

Tóm tắt phương thức: THotPDF.AddImageWithTransparency Method

Khai báo

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

Đơn vị

HPDFDoc

Tham số

TênMục đích
WidthImage width in pixels
HeightImage height in pixels
RGBRGB byte array containing three bytes per pixel
AlphaAlpha byte array containing one byte per pixel

Giá trị trả về

Image resource index for the transparent image

Ghi chú sử dụng

API liên quan