Skip to content

PdfFormattedContent Constructors

Overloads

Name Description
PdfFormattedContent() Initializes a new PdfFormattedContent object.
PdfFormattedContent(String) Initializes a new PdfFormattedContent object with a text paragraph.
PdfFormattedContent(String,PdfFont) Initializes a new PdfFormattedContent object with a text paragraph.
PdfFormattedContent(PdfFormattedContent) Initializes a new PdfFormattedContent object with another formatted content.

PdfFormattedContent()

Initializes a new PdfFormattedContent object.

C#
public PdfFormattedContent()

PdfFormattedContent(String)

Initializes a new PdfFormattedContent object with a text paragraph.

C#
public PdfFormattedContent(string text)

Parameters

text String

Paragraph text.

PdfFormattedContent(String,PdfFont)

Initializes a new PdfFormattedContent object with a text paragraph.

C#
public PdfFormattedContent(string text, PdfFont font)

Parameters

text String

Paragraph text.

font PdfFont

Paragraph font

PdfFormattedContent(PdfFormattedContent)

Initializes a new PdfFormattedContent object with another formatted content.

C#
public PdfFormattedContent(PdfFormattedContent source)

Parameters

source PdfFormattedContent

Source content