HiQPdf Documentation

PdfImage Constructor (RectangleFloat, Boolean, Byte)

HiQPdf Client for .NET Core
Constructs a PDF image from the given .NET image to be laid out in the given destination rectangle in a PDF canvas

Namespace:  HiQPdfClient
Assembly:  HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 15.0.0
Syntax

public PdfImage(
	RectangleFloat destRectangle,
	bool preserveAspectRatio,
	byte[] imageData
)

Parameters

destRectangle
Type: HiQPdfClientRectangleFloat
The destination rectangle with the dimensions expressed in points
preserveAspectRatio
Type: SystemBoolean
Controls if the aspect ratio of the image is preserved
imageData
Type: SystemByte
The image data
See Also

Reference