Click or drag to resize
Pdf Library for .NET

PdfImageElement Constructor

Overload List
 NameDescription
Public methodPdfImageElement(Single, Single, Byte) Creates an image element at (x, y) from an in-memory byte array. Width fits the client area; height preserves aspect ratio.
Public methodPdfImageElement(Single, Single, Stream) Creates an image element at (x, y) from a stream. Width fits the client area; height preserves aspect ratio.
Public methodPdfImageElement(Single, Single, String) Creates an image element at (x, y) from a file. Width fits the client area (capped at the image's natural width in points); height preserves aspect ratio.
Public methodPdfImageElement(Single, Single, Single, Byte) Creates an image element at (x, y) from an in-memory byte array with the specified destination width. Height preserves aspect ratio.
Public methodPdfImageElement(Single, Single, Single, Stream) Creates an image element at (x, y) from a stream with the specified destination width. Height preserves aspect ratio.
Public methodPdfImageElement(Single, Single, Single, String) Creates an image element at (x, y) from a file with the specified destination width. Height preserves aspect ratio.
Public methodPdfImageElement(Single, Single, Single, Single, Byte) Creates an image element at (x, y) from an in-memory byte array with the specified destination size.
Public methodPdfImageElement(Single, Single, Single, Single, Stream) Creates an image element at (x, y) from a stream with the specified destination size.
Public methodPdfImageElement(Single, Single, Single, Single, String) Creates an image element at (x, y) from a file with the specified destination size.
Top
See Also