RtfPdfDocumentExtensionsAddRtf Method

Renders an RTF document in the PDF document: the content starts at the position given by the element in the current page and continues on as many new pages as it needs, inside the margins of the PDF document. The content keeps its formatting, headings, links and images, and its headings can join the outline of the PDF document. The elements added after this call go to the last page of the content, below LastPageRectangle

Definition

Namespace: EvoPdf.Next
Assembly: EvoPdf.Next.RtfToPdf (in EvoPdf.Next.RtfToPdf.dll) Version: 15.0.0
C#
public static PdfContentRenderInfo AddRtf(
	this PdfDocument pdfDocument,
	PdfRtfElement rtfElement
)

Parameters

pdfDocument  PdfDocument
The PDF document being created
rtfElement  PdfRtfElement
The RTF document to render

Return Value

PdfContentRenderInfo
A PdfContentRenderInfo object describing the pages and the areas where the content was rendered

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PdfDocument. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also