Click or drag to resize

ImageToPdfConvetrer Class

The ImageToPdfConvetrer class can be used to create PDF documents from images. It accepts both image files and Image objects as input.

The ImageToPdf static methods create simple PDF documents containing each image as one page of the created PDF.

To rasterize PDF documents as images (the reverse operation), see ToBitmap and RasterizeToImageFiles(String, ImageType)

Inheritance Hierarchy
SystemObject
  IronPdfImageToPdfConvetrer

Namespace:  IronPdf
Assembly:  IronPdf (in IronPdf.dll) Version: 4.4.9.15720 (4.4.9.0)
Syntax
public static class ImageToPdfConvetrer
Methods
  NameDescription
Public methodStatic memberImageToPdf(IEnumerableImage)
Converts multiple Image objects or Bitmaps into a PDF document. Each image creates 1 page which matches the image dimensions.
Public methodStatic memberImageToPdf(IEnumerableString)
Converts multiple image files to a PDF document. Each image creates 1 page which matches the image dimensions.
Public methodStatic memberImageToPdf(Image)
Converts a single Image object or Bitmap to a PDF document of matching dimensions.
Public methodStatic memberImageToPdf(String)
Converts a single image file to an identical PDF document of matching dimensions.
Top
See Also