Pdf Duo .Net component
Class for converting HTML to PDF files in your dynamic Web Site or large-scale Business Project or Desktop Utility. The class includes easy-to-operate methods to convert HTML to PDF as a file or as a stream.

Namespace: DuoDimension
Assembly: pdfduo-net (in pdfduo-net.dll) Version: 2.4.0.0 (2.4)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class HtmlToPdf
Public Class HtmlToPdf
public ref class HtmlToPdf

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
HtmlToPdf()()()()
Initializes a new instance of the DuoDimension.HtmlToPDF class.
BasePath
Base Path of the source file. It helps the converter locate the images which use relative path in HTML files. Default values is file path or url address if file or url was specified. Base Path should be specified when HTML string/stream is converted.
CreateOutlines
If true then HTML headers are converted to PDF bookmarks. The default value is true.
Footer
This property is used to get and set the text in the Footer
Header
This property is used to get and set the text in the Header
ImageInfo
Set attributes concerned with images.
OpenHTML(Stream)
Open the Stream object with HTML content before converting to the PDF, reforming HTML's tags into PDF format structure.
OpenHTML(String)
Open the HTML file or HTML string with tags before converting to the PDF, reforming HTML's tags into PDF format structure.
OpenHTML(StringBuilder)
Open the HTML string before converting to the PDF, reforming HTML's tags into PDF format structure.
OpenHTML(Uri)
Open the HTML Page from a URL Address before converting to the PDF, reforming HTML's tags into PDF format structure.
PageInfo
Set page attributes such as size, margins, orientation.
PdfDocumentInfo
When you view a PDF, you can get information about it, such as the title, author, subject etc. Some of this information is set by the person who created the document.
PdfTextInfo
Set the certain text characteristics like the Font Name, Font Size, Font Color, Text Alignment.
SavePDF()()()()
Convert the HTML to the PDF byte array, reforming HTML's tags into PDF format structure.
SavePDF(Stream)
Convert the HTML to the PDF stream, reforming HTML's tags into PDF format structure.
SavePDF(String)
Convert the HTML to the PDF file, reforming HTML's tags into PDF format structure.
ShowPDF(String)
Launchs the specified PDF file after successful converting.
ShowPDF(array<Byte>[]()[][], HttpResponse)
Shows the PDF in the Browser Window without saving it on the disk.
SourceEncoding
Represents a character encoding. It is used for transformation a set of Unicode characters into a sequence of bytes.
ToString()()()()
Convert the HTML to the PDF string, reforming HTML's tags into PDF format structure.

Inheritance Hierarchy

System..::..Object
  DuoDimension..::..HtmlToPdf

See Also