Winnovative RTF to PDF Converter Library for .NET
PdfConverter Class
NamespacesWinnovative.WnvRtfToPdfPdfConverter
Winnovative RTF to PDF Converter Library for .NET
This class offers the necessary API to create a PDF document from a specified RTF string or file
Declaration Syntax
C#Visual BasicVisual C++
public class PdfConverter
Public Class PdfConverter
public ref class PdfConverter
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
PdfConverter()()()
Creates a RTF to PDF converter which will autodetect the width and height of the RTF document

PdfConverter(Int32)
Creates a RTF to PDF converter which will autodetect the height of the RTF document.

PdfConverter(Int32, Int32)
Creates a RTF to PDF converter for a RTF document with the specified width and height

AdjustBorderSize
There are situations when a fraction of the right and bottom borders of an image or table cell are overwritten by the image content or table cell background when the PDF document is viewed with Adobe Reader. The AdjustBorderSize value is subtracted from the background width and height. The default value is 0 points.

AlphaBlendEnabled
Enables or disables alpha blending for transparent images. Default is true.

AvoidTextBreak
When true this property instructs the converter to try to avoid cutting off the text at PDF page boundry

BkgTransparency
Modify background transparency. 0 means transparent, 100 means opaque.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
GetHashCode()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetPdfBytesFromRtfFile(String)
Gets the binary representation of the rendered PDF document from the specified RTF file

GetPdfBytesFromRtfString(String)
Gets the binary representation of the rendered PDF document from the specified rtf string

GetType()()()
Gets the Type of the current instance.
(Inherited from Object.)
ImgTransparency
Modify images transparency. 0 means transparent, 100 means opaque.

LicenseFilePath
Gets or sets the license path

LicenseKey
Gets or sets the license key

MaskBltEnabled
Enables or disables masking for transparent images. Default is true.

MemberwiseClone()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
PageHeight
Gets or sets the RTF document height. If the width was not set aswell, this property has no effect

PageWidth
Gets or sets the RTF document width

PdfDocumentOptions
Gets a reference to an object to control the generated PDF document options

PdfFooterOptions
Gets a reference to an object to control the generated PDF document footer options

PdfHeaderOptions
Gets a reference to an object to control the generated PDF document header options

RightToLeftEnabled
Set this true if the web page text is in a right-to-left language like Hebrew or Arabic

SavePdfFromRtfFileToFile(String, String)
Saves the rendered PDF document from the specified HTML file into the specified disk file

SavePdfFromRtfStringToFile(String, String)
Saves the rendered PDF document from the specified URL into the specified disk file

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
UseCrossRefStreams
When this property is true, the generated PDF will store the PDF cross-reference table and PDF trailer in compressed cross-reference streams and therefore the generated PDF document will be smaller in size. Set this false for compatibility with third party tools unable to understand the cross-reference streams. The default value is false.

Inheritance Hierarchy
Object
PdfConverter

Assembly: Winnovative.WnvRtfToPdf (Module: Winnovative.WnvRtfToPdf) Version: 2.0.5.0 (2.0.5.0)