Click or drag to resize

RtfToPdfElement Class

RTF to PDF Converter element
Inheritance Hierarchy
SystemObject
  ExpertPdf.PdfCreatorPageElement
    ExpertPdf.PdfCreatorPageGraphicElement
      ExpertPdf.PdfCreatorRtfToPdfElement

Namespace:  ExpertPdf.PdfCreator
Assembly:  epdfcreator (in epdfcreator.dll) Version: 17.0.0
Syntax
public class RtfToPdfElement : PageGraphicElement

The RtfToPdfElement type exposes the following members.

Constructors
  NameDescription
Public methodRtfToPdfElement(String)
Creates a RTF to PDF converter element for the specified RTF string with the default virtual viewer width and an auto detected height. The start position is (0,0) and the rendered width is given by the available space in start page.
Public methodRtfToPdfElement(String, Int32)
Creates a RTF to PDF converter element for the specified RTF string with the specified virtual viewer width and an auto detected height. The start position is (0,0) and the rendered width is given by the available space in start page.
Public methodRtfToPdfElement(Single, Single, String)
Creates a RTF to PDF converter element for the specified RTF string with the default virtual viewer width and an auto detected height.
Public methodRtfToPdfElement(String, Int32, Int32)
Creates a RTF to PDF converter element for the specified RTF string with the specified virtual viewer width and height. The start position is (0,0) and the rendered width is given by the available space in start page.
Public methodRtfToPdfElement(Single, Single, Single, String)
Creates a RTF to PDF converter element for the specified RTF string with the default virtual viewer width and an auto detected height.
Public methodRtfToPdfElement(Single, Single, String, Int32)
Creates a RTF to PDF converter element for the specified RTF string with the specified virtual viewer width and an auto detected height.
Public methodRtfToPdfElement(Single, Single, Single, String, Int32)
Creates a RTF to PDF converter element for the specified RTF string with the specified virtual viewer width and an auto detected height.
Public methodRtfToPdfElement(Single, Single, String, Int32, Int32)
Creates a RTF to PDF converter element for the specified RTF string with the specified virtual viewer width and height.
Public methodRtfToPdfElement(Single, Single, Single, String, Int32, Int32)
Creates a RTF to PDF converter element for the specified RTF string with the specified virtual viewer width and height.
Public methodRtfToPdfElement(Single, Single, Single, Single, String, Int32, Int32)
Creates a RTF to PDF converter element for the specified RTF string with the specified virtual viewer width and height.
Top
Properties
  NameDescription
Public propertyAdjustBorderSize
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.
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 propertyBackColor
Gets or sets element background color.
(Inherited from PageGraphicElement.)
Public propertyBkgTransparency
Modify background transparency. 0 means transparent, 100 means opaque.
Public propertyBlending
Gets or sets blending mode for transparent rendering mode of the element.
(Inherited from PageGraphicElement.)
Public propertyColorSpace
Gets or sets color space for element rendering.
(Inherited from PageGraphicElement.)
Public propertyEmbedFonts
When true this options instructs the converter to embed all the true type fonts into the PDF document. The default value is false.
Public propertyFitHeight
When this property is true the RTF content will be resized if necessary to fit the available height in PDF page. By default this property is false.
Public propertyFitWidth
When this property is true the RTF content will be resized if necessary to fit the available width in PDF page. When false the HTML content will be rendered at the real size. By default this property is true and the content will be resized if necessary to fit the available width in PDF page
Public propertyForeColor
Gets or sets the element foreground color.
(Inherited from PageGraphicElement.)
Public propertyGradient
The gradient used to fill a shape.
(Inherited from PageGraphicElement.)
Public propertyImgTransparency
Modify images transparency. 0 means transparent, 100 means opaque.
Public propertyLineStyle
Gets or sets the line style for elements rendering lines.
(Inherited from PageGraphicElement.)
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 false.
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 propertyPaginate
When true the element can be paginated
Public propertyRenderedPagesRectangles
The bounds of the rendered rectangle on each PDF page. This property is assigned after the element has been added to a PDF page.
Public propertyRightToLeftEnabled
This property is obsolete. Setting this property is not necessary anymore when converting documents in right-to-left languages like Hebrew or Arabic.
Public propertyRotated
A flag to indicate if this element was rotated.
(Inherited from PageGraphicElement.)
Public propertyRtfViewerHeight
Gets or sets the virtual RTF viewer height. If the viewer width was not set, this property has no effect and the height will be auto detected
Public propertyRtfViewerWidth
Gets or sets the virtual RTF viewer width
Public propertyScaled
A flag to indicate if this element was scaled.
(Inherited from PageGraphicElement.)
Public propertySkewed
A flag to indicate if this element was skewed.
(Inherited from PageGraphicElement.)
Public propertyTranslated
A flag to indicate if this element was translated.
(Inherited from PageGraphicElement.)
Public propertyTransparency
Gets or sets element transparency. The transparency is expressed as a value between 0 and 100. 0 means completely transparent and 100 completely opaque.
(Inherited from PageGraphicElement.)
Public propertyTruncateOutOfBoundsText
Internal use only.
Top
Methods
  NameDescription
Public methodRotate
Rotates the coordinate system axes clockwise by the specified angle before rendering the element. The coordinates of the element are relative to the rotated coordinates system.
(Inherited from PageGraphicElement.)
Public methodScale
Scales the coordinates so that 1 unit in the horizontal and vertical dimensions of the new coordinate system is the same size as sx and sy units, respectively, in the previous coordinate system.
(Inherited from PageGraphicElement.)
Public methodSkew
Skews the x axis by an skewXAngle and the y axis by an skewYAngle before rendering the element.
(Inherited from PageGraphicElement.)
Public methodTranslate
Translates the coordinate system before rendering the element. The coordinates of the element are relative to the translated coordinate system.
(Inherited from PageGraphicElement.)
Top
Events
  NameDescription
Public eventBeforeCreateNextPageEvent
This event is raised when the next page is about to be created to continue rendering. The element rendering can be cancelled from the event handler of this event.
Public eventBeforeRenderNextPageEvent
This is event is raised before rendering the content on a page, including the intial page. The element rendering can be cancelled from the event handler of this event.
Top
Fields
  NameDescription
Public fieldStatic memberDEFAULT_RTF_VIEWER_WIDTH_PX
The default virtual viewer width in pixels
Top
See Also