Table of Contents

Class ImageToPdf

Namespace
LMKit.Document.Conversion
Assembly
LM-Kit.NET.dll

Provides methods to convert images into PDF documents.

public static class ImageToPdf
Inheritance
ImageToPdf
Inherited Members

Remarks

The ImageToPdf class creates a PDF where each image occupies a full page, sized to match the image dimensions. Supports JPEG, PNG, BMP, and other common image formats.

Methods

Convert(IEnumerable<Attachment>, PdfGenerationOptions)

Converts one or more image attachments into a single PDF attachment, with each image on its own page.

Convert(IEnumerable<string>, PdfGenerationOptions)

Converts one or more image files into a single PDF attachment, with each image on its own page.

ConvertToFile(IEnumerable<Attachment>, string, PdfGenerationOptions)

Converts one or more image attachments into a single PDF file, with each image on its own page.

ConvertToFile(IEnumerable<string>, string, PdfGenerationOptions)

Converts one or more image files into a single PDF file, with each image on its own page.

Share