Heading

Heading class

Represents heading.

public sealed class Heading : TextFragment

Constructors

Name Description
Heading(int) Initializes a new instance of the Cell class.

Properties

Name Description
BaselinePosition { get; set; } Gets text position for text, represented with TextFragment object. The YIndent of the Position structure represents baseline coordinate of the text fragment.
DestinationPage { get; set; } Gets the destination page.
EndNote { get; set; } Gets or sets the paragraph end note.(for pdf generation only)
FootNote { get; set; } Gets or sets the paragraph foot note.(for pdf generation only)
Form { get; } Gets form object that contains the TextFragment
override HorizontalAlignment { get; set; } Gets or sets a horizontal alignment of text fragment.
override Hyperlink { set; } Sets the fragment hyperlink
IsAutoSequence { get; set; } Gets the heading should be numered automatically.
IsFirstParagraphInColumn { get; set; } Gets or sets a bool value that indicates whether this paragraph will be at next column. Default is false.(for pdf generation)
IsInLineParagraph { get; set; } Gets or sets a paragraph is inline. Default is false.(for pdf generation)
IsInList { get; set; } Gets the heading should be in toc list.
IsInNewPage { get; set; } Gets or sets a bool value that force this paragraph generates at new page. Default is false.(for pdf generation)
IsKeptWithNext { get; set; } Gets or sets a bool value that indicates whether current paragraph remains in the same page along with next paragraph. Default is false.(for pdf generation)
Level { get; set; } Gets the level.
Margin { get; set; } Gets or sets a outer margin for paragraph (for pdf generation)
Page { get; } Gets page that contains the TextFragment
Position { get; set; } Gets or sets text position for text, represented with TextFragment object.
Rectangle { get; } Gets rectangle of the TextFragment
ReplaceOptions { get; } Gets text replace options. The options define behavior when fragment text is replaced to more short/long.
Segments { get; set; } Gets text segments for current TextFragment.
StartNumber { get; set; } Gets the heading start number.
Style { get; set; } Gets or sets style.
Text { get; set; } Gets or sets String text object that the TextFragment object represents.
TextState { get; } Gets or sets text state for the text that TextFragment object represents.
TocPage { get; set; } Gets the page that contains this heading.
Top { get; set; } Gets the top Y of this headings.
UserLabel { get; set; } Gets or sets user label.
override VerticalAlignment { get; set; } Gets or sets a vertical alignment of text fragment.
WrapLinesCount { get; set; } Gets or sets wrap lines count for this paragraph(for pdf generation only)
ZIndex { get; set; } Gets or sets a int value that indicates the Z-order of the graph. A graph with larger ZIndex will be placed over the graph with smaller ZIndex. ZIndex can be negative. Graph with negative ZIndex will be placed behind the text in the page.

Methods

Name Description
override Clone() Clone the heading.
override CloneWithSegments() Clone the heading with all segments.
IsolateTextSegments(int, int) Gets TextSegment(s) representing specified part of the TextFragment text.

See Also