EVO RTF to PDF Converter Library for .NET Documentation

PdfConverter Class

EVO RTF to PDF Converter Library for .NET
EVO 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
Inheritance Hierarchy

SystemObject
  EvoPdf.RtfToPdfPdfConverter

Namespace:  EvoPdf.RtfToPdf
Assembly:  evortftopdf (in evortftopdf.dll) Version: 10.0.0.0 (10.0.0.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
Public methodPdfConverter(Int32)
Creates a RTF to PDF converter which will autodetect the height of the RTF document.
Public methodPdfConverter(Int32, Int32)
Creates a RTF to PDF converter for a RTF document with the specified width and height
Top
Properties

  NameDescription
Public propertyAdjustBorderSize
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.
Public propertyAdjustThinLinesWidth
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.
Public propertyAlphaBlendEnabled
Enables or disables alpha blending for transparent images. Default is true.
Public propertyAvoidTextBreak
When true this property instructs the converter to try to avoid cutting off the text at PDF page boundry
Public propertyBkgTransparency
Modify background transparency. 0 means transparent, 100 means opaque.
Public propertyImgTransparency
Modify images transparency. 0 means transparent, 100 means opaque.
Public propertyLicenseKey
Gets or sets the RTF to PDF converter license key
Public propertyMaskBltEnabled
Enables or disables masking for transparent images. Default is true.
Public propertyOptimizeMemoryUsage
When this property is true the library will try to release the unused memory as soon as possible. The default value is true.
Public propertyOptimizePdfPageBreaks
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.
Public propertyPageHeight
Gets or sets the RTF document height. If the width was not set aswell, this property has no effect
Public propertyPageWidth
Gets or sets the RTF document width
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 propertyRightToLeftEnabled
This property is obsolete. Setting this property is not necessary anymore when converting pages in right-to-left languages like Hebrew or Arabic.
Public propertyTransparencyEnabled
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.
Public propertyTruncateOutOfBoundsText
Internal use only.
Public propertyUseCrossRefStreams
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.
Top
Methods

  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetPdfBytesFromRtfFile
Gets the PDF document rendered from the specified RTF file to a memory buffer.
Public methodGetPdfBytesFromRtfString
Gets the PDF document rendered from the specified RTF file to a memory buffer.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
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.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference