Click or drag to resize

ImageToPdfConvetrerImageToPdf Method (Image)

Converts a single Image object or Bitmap to a PDF document of matching dimensions.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 4.4.9.15720 (4.4.9.0)
Syntax
public static PdfDocument ImageToPdf(
	Image Image
)

Parameters

Image
Type: System.DrawingImage
The image object. Requires a project reference to the System.Drawing Assembly.

Return Value

Type: PdfDocument
Returns a PdfDocument document which can then be edited, saved or served over the web.
See Also