THotPDF.AddImageWithTransparency Method
Rezumatul metodei: THotPDF.AddImageWithTransparency Method
Declarație
function AddImageWithTransparency(Width, Height: Integer; const RGB: array of byte; const Alpha: array of byte): Integer;
Unitate
HPDFDoc
Parametri
| Nume | Scop |
|---|---|
Width | Image width in pixels |
Height | Image height in pixels |
RGB | RGB byte array containing three bytes per pixel |
Alpha | Alpha byte array containing one byte per pixel |
Valoare de întoarcere
Image resource index for the transparent image
Note de utilizare
- The RGB and alpha arrays must match the supplied image dimensions
- Use this API when transparency data is already available outside a TGraphic object
API-uri asociate
- THotPDF
- THotPDF.AddImage Method
- THotPDF.AddImageFromFile Method
- Contents