Skip to content

PDF Vision .Net is a component to convert HTML, URL and images to PDF format. It supports BMP to PDF, JPG to PDF, GIF to PDF and other formats such as WMF, EMF, ICO, and PNG.

Notifications You must be signed in to change notification settings

SautinSoft/SautinSoft.PdfVision.Examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nuget Nuget

.NET SDK to convert HTML, ASPX, URL to PDF and Images to PDF

logo-vision

SautinSoft.PdfVision is .NET assembly (SDK) which gives API to convert HTML, ASPX to PDF and Image, JPG, Multipages TIFF to PDF.

Quick links

Top Features

System Requirement

  • .NET Framework 4.6.1 - 4.8.1
  • .NET Core 2.0 - 3.1, .NET 5, 6, 7
  • .NET Standard 2.0
  • Windows, Linux, macOS, Android, iOS.

Getting Started with PDF Vision .Net

Are you ready to give PDF Vision .NET a try? Simply execute Install-Package sautinsoft.pdfvision from Package Manager Console in Visual Studio to fetch the NuGet package. If you already have PDF Vision .NET and want to upgrade the version, please execute Update-Package sautinsoft.pdfvision to get the latest version.

Convert HTML to PDF

string inpFile = Path.GetFullPath(@"..\..\Sample.html");
string outFile = new FileInfo("Result.pdf").FullName;

PdfVision v = new PdfVision();
v.ConvertHtmlToPdf(inpFile, outFile);

Convert JPG to PDF

string inpFile = Path.GetFullPath(@"..\..\image-jpeg.jpg");
string outFile = new FileInfo(@"Result.pdf").FullName;

PdfVision v = new PdfVision();
ImageToPdfOptions options = new ImageToPdfOptions();
v.ConvertImageToPdf(new string[] {inpFile}, outFile, options);

Convert HTML to Image

string inpFile = Path.GetFullPath(@"..\..\Sample.html");
string outFile = new FileInfo("Result.png").FullName;

PdfVision v = new PdfVision();
ScreenshotOptions options = new ScreenshotOptions();
v.GetScreenshot(inpFile, outFile, options);

Resources

About

PDF Vision .Net is a component to convert HTML, URL and images to PDF format. It supports BMP to PDF, JPG to PDF, GIF to PDF and other formats such as WMF, EMF, ICO, and PNG.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published