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: 4.4.9.15720 (4.4.9.0)
Syntax
public static PdfDocument ImageToPdf(
	string ImageFileName
)

Parameters

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