THotPDF.AddImageWithTransparency Method

Adds image with transparency data to the graphics and color management workflow. The call creates or attaches the PDF-side object needed by later output, validation, signing, or page rendering steps

Declaration

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

Unit

HPDFDoc

Parameters

NamePurpose
WidthPage coordinate or size value expressed in the current HotPDF coordinate space
HeightPage coordinate or size value expressed in the current HotPDF coordinate space
RGBInput used by AddImageWithTransparency
AlphaTransparency value used by the graphics state or soft-mask workflow

Return value

Returns an Integer value

Usage notes

Related APIs