PdfImage(RectangleFloat, Boolean, Byte) Constructor
Constructs a PDF image from the given .NET image to be laid out in the given destination rectangle in a PDF canvas
Namespace: HiQPdfClientAssembly: HiQPdfClient.NetCore (in HiQPdfClient.NetCore.dll) Version: 16.0.0
public PdfImage(
RectangleFloat destRectangle,
bool preserveAspectRatio,
byte[] imageData
)
Public Sub New (
destRectangle As RectangleFloat,
preserveAspectRatio As Boolean,
imageData As Byte()
)
public:
PdfImage(
RectangleFloat^ destRectangle,
bool preserveAspectRatio,
array<unsigned char>^ imageData
)
new :
destRectangle : RectangleFloat *
preserveAspectRatio : bool *
imageData : byte[] -> PdfImage
Parameters
- destRectangle RectangleFloat
- The destination rectangle with the dimensions expressed in points
- preserveAspectRatio Boolean
- Controls if the aspect ratio of the image is preserved
- imageData Byte
- The image data