Main class of the PDF Metamorphosis .Net. Allows to export Text, RTF, HTML to PDF, split and merge PDF documents.
Namespace:
SautinSoftAssembly: PdfMetamorphosis (in PdfMetamorphosis.dll) Version: 5.3.4.18
Syntax
| C# | Visual Basic |
public class PdfMetamorphosis
Public Class PdfMetamorphosis
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PdfMetamorphosis()()() |
Initializes a new instance of the SautinSoft.PdfMetamorphosis class
| |
| Footer |
Setup page footer in any format: Html, Rtf or Text
| |
| FooterOnFirstPage |
Setup first page footer in any format: Html, Rtf or Text
| |
| Header |
Setup page header in any format: Html, Rtf or Text
| |
| HeaderOnFirstPage |
Setup first page header in any format: Html, Rtf or Text
| |
| HtmlOptions |
Allows to specify HTML to PDF converting options
| |
| HtmlToPdfConvertFile(String, String) |
Converts HTML file or URL to PDF file. Output file will be overwritten.
| |
| HtmlToPdfConvertFileToByte(String) |
Converts HTML file or URL into array of PDF bytes.
| |
| HtmlToPdfConvertStringToByte(String) |
Converts HTML string into array of PDF bytes. Don't forget to specify the property BaseUrl to see images in output PDF file.
| |
| HtmlToPdfConvertStringToFile(String, String) |
Converts HTML string to PDF file. Don't forget to specify the property BaseUrl to see images in output PDF file.
| |
| MergePDFFileArrayToPDFFile(array<String>[]()[], String) |
Merges different PDF files into single PDF file
| |
| MergePDFFileArrayToPDFStream(array<String>[]()[]) |
Merges different PDF files into single PDF
| |
| MergePDFFileToPDFFile(String, String) |
Merges two PDF files. Merges File1Path and DestFile file into single DestFile.
| |
| MergePDFStreamArrayToPDFStream(ArrayList) |
Merges different PDF documents into single PDF in memory
| |
| PageStyle |
Allows to specify page properties: page size, orientation, margins, page numbers etc
| |
| PrintPdf(String) | ||
| PrintPdf(String, Int32, Int32) | ||
| RtfToPdfConvertByte(array<Byte>[]()[]) |
Converts array of RTF or Text bytes into array of PDF bytes.
| |
| RtfToPdfConvertByte(String) |
Converts RTF or Text string into array of PDF bytes.
| |
| RtfToPdfConvertFile(String, String) |
Converts a Text, RTF file to PDF file.
| |
| RtfToPdfConvertFileToByte(String) |
Converts a Text, RTF file into array of PDF bytes.
| |
| RtfToPdfConvertStringToFile(String, String) |
Converts Text, RTF string to PDF file.
| |
| Serial |
Property to activate your copy, doesn't work in trial version, the same as method SetSerial | |
| SetSerial(String) |
Method for activating your copy, doesn't work in trial version. The same as Serial property
| |
| SplitPDFFileToPDFFolder(String, String) |
Splits PDF document by pages
| |
| TextStyle |
Allows to specify text properties: font face, size, colors, image quality and other conversion options
| |
| TraceOptions | ||
| UnicodeOptions |
Allows to specify options to properly convert Unicode, such as "Fonts" directory etc
|