Skip to content

PdfFormattedTextBlock Class

Definition

Namespace: Xfinium.Pdf.Graphics.FormattedContent

Defines a formatted block of text.

C#
public class PdfFormattedTextBlock : PdfFormattedBlock

Inheritance: Object → PdfFormattedBlock → PdfFormattedTextBlock

Remarks

All text in the block shares the same formatting attributes.

Constructors

Name Description
PdfFormattedTextBlock() Initializes a new PdfFormattedTextBlock object.
PdfFormattedTextBlock(String) Initializes a new PdfFormattedTextBlock object.
PdfFormattedTextBlock(String,PdfFont) Initializes a new PdfFormattedTextBlock object.

Properties

Name Description
Action Gets or sets the action.
(inherited from PdfFormattedBlock)
BackgroundBaselineOffset Gets or sets the background baseline offset.
BackgroundColor Gets or sets the background color.
Font Gets or sets the font.
StructureElement Gets or sets the structure element.
(inherited from PdfFormattedBlock)
Subscript Gets the list of text blocks that are used as subscript for this block.
Superscript Gets the list of text blocks that are used as superscript for this block.
Text Gets or sets the text.
TextColor Gets or sets the text color.

Methods

Name Description
ToString Converts this object to string representation.