THotPDF.AddImageWithTransparency32 Method
メソッドの要約: THotPDF.AddImageWithTransparency32 Method
宣言
function AddImageWithTransparency32(Width, Height: Integer; const Pixels: array of byte): Integer;
ユニット
HPDFDoc
パラメータ
| 名前 | 目的 |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
Pixels | Packed 32-bit pixel byte array |
戻り値
Image resource index for the transparent image
使用上の注意
- レンダリングや画像処理のコードが生成する RGBA 形式のバッファには、この API を使います
- ピクセルバッファの長さは、渡した幅と高さに一致している必要があります