Winnovative RTF to PDF Converter Library for .NET
SystemObject
Winnovative.WnvRtfToPdfPdfConverter
Assembly: wnvrtftopdf (in wnvrtftopdf.dll) Version: 10.0.0.0 (10.0.0.0)
Top
Top
Top
This class offers the necessary API to create a PDF document from
a specified RTF string or file
Inheritance Hierarchy
Winnovative.WnvRtfToPdfPdfConverter
Namespace: Winnovative.WnvRtfToPdf
Assembly: wnvrtftopdf (in wnvrtftopdf.dll) Version: 10.0.0.0 (10.0.0.0)
Syntax
The PdfConverter type exposes the following members.
Constructors
Name | Description | |
---|---|---|
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
|
Properties
Name | Description | |
---|---|---|
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.
| |
ImgTransparency |
Modify images transparency. 0 means transparent, 100 means opaque.
| |
LicenseKey |
Gets or sets the RTF to PDF converter license key
| |
MaskBltEnabled |
Enables or disables masking for transparent images. Default is true.
| |
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.
| |
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.
|
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetPdfBytesFromRtfFile |
Gets the PDF document rendered from the specified RTF file to a memory buffer.
| |
GetPdfBytesFromRtfString |
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.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
SavePdfFromRtfFileToFile |
Saves the rendered PDF document from the specified HTML file into the specified
disk file
| |
SavePdfFromRtfFileToStream |
Saves the PDF document rendered from the specified RTF file to the specified stream.
| |
SavePdfFromRtfStringToFile |
Saves the rendered PDF document from the specified URL into the specified
disk file
| |
SavePdfFromRtfStringToStream |
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.) |
See Also