Click or drag to resize

ImageToPdfConvetrerImageToPdf Method (String)

Converts a single image file to an identical PDF document of matching dimensions.

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: (
public static PdfDocument ImageToPdf(
	string ImageFileName


Type: SystemString
File path of the image file.

Return Value

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