PdfImage(RectangleFloat, Byte) Constructor

Constructs a PDF image from the given .NET image to be laid out in the given destination rectangle in a PDF canvas. The aspect ratio of the image is preserved in PDF

Definition

Namespace: HiQPdfClient
Assembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
C#
public PdfImage(
	RectangleFloat destRectangle,
	byte[] imageData
)

Parameters

destRectangle  RectangleFloat
The destination rectangle with the dimensions expressed in points
imageData  Byte
The image data

See Also