PdfRtfElement Class

An RTF document rendered in the pages of a PDF document being created. The content starts at a position in the current page and flows to as many new pages as it needs, laid out inside the margins of the PDF document, and keeps its formatting, headings, links and images

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.RtfToPdf (in EvoPdf.Next.RtfToPdf.dll) Version: 15.0.0
C#
public class PdfRtfElement
Inheritance
Object    PdfRtfElement

Constructors

PdfRtfElement(Byte) Creates an element that renders an RTF document given as a byte array
PdfRtfElement(String) Creates an element that renders an RTF document given as a file or as a string: a value that contains the RTF header is the document itself, any other value is the path of the RTF file

Properties

FallbackFontFiles The TrueType or OpenType font files used for the characters that the fonts of the content do not provide, such as the fonts of other scripts
FontFiles The TrueType or OpenType font files made available to the content, in addition to the fonts installed on the machine; a font file provides the family it is named after, so it also takes the place of a font of that name that is not installed
GenerateDocumentOutline True to add a bookmark for each heading of the RTF document to the outline of the PDF document. The default is false
Width The width of the content in points, or 0 to extend it to the right margin of the page
X The X position where the content starts, in points and relative to the top left corner of the content area of the current page, inside the margins. The content keeps this left offset on the next pages
Y The Y position where the content starts, in points and relative to the top left corner of the content area of the current page, inside the margins. On the next pages the content starts at the top margin
Zoom The zoom of the rendered content in percents, from 10 to 200. The default is 100

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also