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
Примітки щодо використання
- Use this API for RGBA-style buffers produced by rendering or image-processing code
- The pixel buffer length must match the supplied dimensions
Пов'язані API
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents