Skip to content

PdfFlowHeadingContent Class

Definition

Namespace: Xfinium.Pdf.FlowDocument

Defines a heading in a flow document.

C#
public class PdfFlowHeadingContent : PdfFlowTextContent

Inheritance: Object → PdfFlowContent → PdfFlowTextContent → PdfFlowHeadingContent

Remarks

Headings are used for generation of document's outline tree and table of contents.

Constructor

Name Description
PdfFlowHeadingContent(PdfFormattedContent) Initializes a new PdfFlowHeadingContent object.

Properties

Name Description
AutoNumber Gets or sets a value indicating whether the headings should be numbered automatically.
Background Gets or sets the content background.
(inherited from PdfFlowContent)
DestinationName Gets or sets the destination name.
(inherited from PdfFlowContent)
InnerMargins Gets or sets the content inner margins.
(inherited from PdfFlowContent)
Level Gets or sets the heading level (1 to 8).
OuterMargins Gets or sets the content outer margins.
(inherited from PdfFlowContent)
StructureElement Gets or sets the structure element.
(inherited from PdfFlowContent)
Tag Gets or sets an arbitrary object value that can be used to store custom information about this element.
(inherited from PdfFlowContent)

Methods

Name Description
GetContentHeight Gets the content height.
(inherited from PdfFlowTextContent)
ToString Converts the object to string.
(inherited from PdfFlowTextContent)