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