Click or drag to resize

PdfConverter Class

This class offers the necessary API to create a PDF document from a specified RTF string or file
Inheritance Hierarchy
SystemObject
  ExpertPdf.Anywhere.RtfToPdfPdfConverter

Namespace: ExpertPdf.Anywhere.RtfToPdf
Assembly: ExpertPdf.Anywhere (in ExpertPdf.Anywhere.dll) Version: 22.0
Syntax
public class PdfConverter

The PdfConverter type exposes the following members.

Constructors
 NameDescription
Public methodPdfConverter Creates a RTF to PDF converter which will autodetect the width and height of the RTF document
Top
Properties
 NameDescription
Public propertyAccessibilityStandard Gets or sets the accessibility standard the generated document declares.
Public propertyLanguage Gets or sets the natural language of the document content (for example "en-US"), written as the document's language entry. Required for accessible (PDF/UA) output.
Public propertyLicenseKey Gets or sets the license key
Public propertyPdfDocumentInfo Gets a reference to an object to set the document information of the generated PDF document: title, author, subject, keywords and creation date. PDF viewers show them in the document properties.
Public propertyPdfDocumentOptions Gets a reference to an object to control the generated PDF document options
Public propertyPdfFooterOptions Gets a reference to an object to control the generated PDF document footer options
Public propertyPdfHeaderOptions Gets a reference to an object to control the generated PDF document header options
Public propertyPdfSecurityOptions Gets a reference to an object to set the security of the generated PDF document: a password to open it, an owner password and the permissions (print, copy, edit, fill form fields, assemble), with AES-128 encryption (the default), AES-256 for a 256-bit key or RC4 for a 40-bit key. The document is encrypted only when one of these options is changed from its default.
Public propertyPdfStandardSubset Gets or sets the PDF standard of the generated document. The default is Full. The PDF/A levels produce a document for long term archiving, Pdf_X_1a one for print exchange.
Top
Methods
 NameDescription
Public methodGetPdfBytesFromRtfFile Gest the PDF document rendered from the specified RTF file to a memory buffer.
Public methodGetPdfBytesFromRtfString Gets the PDF document rendered from the specified RTF string to a memory buffer.
Public methodSavePdfFromRtfFileToFile Saves the rendered PDF document from the specified HTML file into the specified disk file
Public methodSavePdfFromRtfFileToStream Saves the PDF document rendered from the specified RTF file to the specified stream.
Public methodSavePdfFromRtfStringToFile Saves the rendered PDF document from the specified URL into the specified disk file
Public methodSavePdfFromRtfStringToStream Saves the rendered PDF document from the specified rtf string to the specified stream.
Top
See Also