THotPDF.AddImageWithTransparency Method

สรุปเมธอด: THotPDF.AddImageWithTransparency Method

การประกาศ

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

ยูนิต

HPDFDoc

พารามิเตอร์

ชื่อวัตถุประสงค์
WidthImage width in pixels
HeightImage height in pixels
RGBRGB byte array containing three bytes per pixel
AlphaAlpha byte array containing one byte per pixel

ค่าที่ส่งกลับ

Image resource index for the transparent image

หมายเหตุการใช้งาน

API ที่เกี่ยวข้อง