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
A small value to subtract from the width and hight of the colored background to make the thin lines of 1 pixel around this background more visible when zooming out in the Adobe Reader PDF Viewer. The default value is 0.5 pixels.

AdjustThinLinesWidth
A small increment value for the 1 pixel thin lines width to make them more visible when zooming out in the Adobe Reader PDF Viewer. The default value is 0 pixels.

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)
Gest the PDF document rendered from the specified RTF file to a memory buffer.

GetPdfBytesFromRtfString(String)
Gets the PDF document rendered from the specified RTF file to a memory buffer.

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

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.)
OptimizeMemoryUsage
When this property is true the library will try to release the unused memory as soon as possible. The default value is true.

OptimizePdfPageBreaks
A flag indicating if the converter uses an optimized page breaks algorithm to improve document scrolling inside a PDF Viewer. The optimized algorithm can introduce a small additional processing time when the PDF document is generated. The default value is true and the optimized page breaks algorithm is used by default.

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
This property is obsolete. Setting this property is not necessary anymore when converting pages in right-to-left languages like Hebrew or Arabic.

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

SavePdfFromRtfFileToStream(String, Stream)
Saves the PDF document rendered from the specified RTF file to the specified stream.

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

SavePdfFromRtfStringToStream(String, Stream)
Saves the rendered PDF document from the specified rtf string to the specified stream.

ToString()()()
Returns a String that represents the current Object.
(Inherited from Object.)
TransparencyEnabled
Gets or sets a flag indicating if the transparency is enabled in the generated PDF document. Default value is true. This property can be set to false to eliminate the additional flattening time when the document is sent to the printer from Adobe Reader viewer.

TruncateOutOfBoundsText
Internal use only.

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: 3.1.0.0 (3.1.0.0)