Click or drag to resize

PdfVision Class

Represents PDF Vision .Net component. It gives you API to:
  • Convert HTML to PDF.
  • Get screnshot from HTML (convert HTML to Image).
  • Convert Images (PNG, JPEG, Multipage TIFF, Bitmap) to PDF.
  • Split and Merge PDF.
Inheritance Hierarchy
SystemObject
  SautinSoft.PdfVisionPdfVision

Namespace: SautinSoft.PdfVision
Assembly: SautinSoft.PdfVision (in SautinSoft.PdfVision.dll) Version: 2024.12.6
Syntax
public class PdfVision

The PdfVision type exposes the following members.

Constructors
 NameDescription
Public methodCode examplePdfVision Default constructor for the PdfVision class.
Top
Properties
 NameDescription
Public propertyPdfVersion Output PDF format for split/merge functions.
Public propertyStatic memberCode exampleSerialObsolete.
Set your activation key.
Top
Methods
 NameDescription
Public methodCode exampleConvertHtmlToPdf(String, HtmlToPdfOptions) Convert HTML document to PDF document in memory.
Public methodCode exampleConvertHtmlToPdf(String, String, HtmlToPdfOptions) Convert HTML document to PDF file.
Public methodCode exampleConvertImageToPdf(Byte, ImageToPdfOptions) Convert image to PDF in memory.
Public methodCode exampleConvertImageToPdf(ListByte, ImageToPdfOptions) Convert images to PDF in memory.
Public methodCode exampleConvertImageToPdf(Byte, String, ImageToPdfOptions) Convert image to PDF file.
Public methodConvertImageToPdf(ListByte, String, ImageToPdfOptions) Convert images to PDF file.
Public methodCode exampleConvertImageToPdf(String, String, ImageToPdfOptions) Convert a folder with images to PDF file.
Public methodCode exampleConvertImageToPdf(String, String, ImageToPdfOptions) Convert array with image files to PDF file.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodCode exampleGetScreenshot(String, ScreenshotOptions) Get HTML screenshot (PNG or JPEG) in memory.
Public methodCode exampleGetScreenshot(String, String, ScreenshotOptions) Get HTML screenshot (PNG or JPEG) and write it to file.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodCode exampleMergePdf(ListByte) Merges different PDF documents into single PDF in memory
Public methodMergePdf(String) Merges different PDF files into single PDF
Public methodMergePdf(String, String) Merges two PDF files. Merges File1Path and DestFile file into single DestFile.
Public methodCode exampleMergePdf(String, String) Merges different PDF files into single PDF file
Public methodStatic memberCode exampleSetLicense
Activate your copy after purchasing or use temporary license for delete trial message. ATTENTION: specify this property first of all before creating the instance of PdfVision!

Use it when you got own license. We offer two license types:

Permanent license from sautinsoft.com

Temporary license from start-for-free.

Have question? Ask us: support@sautinsoft.com.
Public methodCode exampleSplitPdf Split PDF file by separate single-page PDF files.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also