New to Telerik Document ProcessingStart a free 30-day trial

Configures page layout and presentation for Section elements, including page size, orientation, margins, headers, footers, and section break behavior.

Definition

Methods

Enumerates the style properties.

C#
protected override IEnumerable<IStyleProperty> EnumerateStyleProperties()
Returns:

IEnumerable<IStyleProperty>

The style properties.

Overrides: DocumentElementPropertiesBase.EnumerateStyleProperties()

Gets specific style property or null.

C#
protected override IStyleProperty GetStylePropertyOverride(IStylePropertyDefinition propertyDefinition)
Parameters:propertyDefinitionIStylePropertyDefinition

The property definition.

Returns:

IStyleProperty

Overrides: DocumentElementPropertiesBase.GetStylePropertyOverride(IStylePropertyDefinition)

Properties

References the heading style used to determine chapter numbers for chapter-based page numbering schemes.

C#
public IStyleProperty<int?> ChapterHeadingStyleIndex { get; }
Property Value:

The index of the chapter heading style.

Specifies the separator character displayed between chapter numbers and page numbers in chapter-based page numbering.

C#
public IStyleProperty<ChapterSeparatorType?> ChapterSeparatorCharacter { get; }
Property Value:

The chapter separator character.

Controls the distance from the bottom page edge to the footer content, in device-independent pixels (1/96 inch).

C#
public IStyleProperty<double?> FooterBottomMargin { get; }
Property Value:

The footer bottom margin property.

Enables distinct header and footer content on the section's first page, independent of subsequent pages.

C#
public IStyleProperty<bool?> HasDifferentFirstPageHeaderFooter { get; }
Property Value:

The has different first page header footer.

Controls the distance from the top page edge to the header content, in device-independent pixels (1/96 inch).

C#
public IStyleProperty<double?> HeaderTopMargin { get; }
Property Value:

The header top margin property.

Defines the whitespace between page edges and content area on all four sides of the page.

C#
public IStyleProperty<Padding> PageMargins { get; }
Property Value:

The page margins property.

Specifies the numbering style for page numbers in the section, such as Arabic numerals, Roman numerals, or alphabetic characters.

C#
public IStyleProperty<NumberingStyle?> PageNumberFormat { get; }
Property Value:

The page number format.

Controls whether pages in the section are rendered in portrait or landscape orientation.

C#
public IStyleProperty<PageOrientation?> PageOrientation { get; }
Property Value:

The page orientation.

Specifies the physical dimensions of pages in the section, with width and height in device-independent pixels (1/96 inch).

C#
public IStyleProperty<Size?> PageSize { get; }
Property Value:

The page size property.

Determines how the section begins relative to the previous section, controlling page breaks and continuity.

C#
public IStyleProperty<SectionType?> SectionType { get; }
Property Value:

The section type property.

Sets the initial page number for the section, overriding automatic sequential numbering from previous sections.

This number appears on the first page of the section.

C#
public IStyleProperty<int?> StartingPageNumber { get; }
Property Value:

The starting page number.

Controls vertical positioning of content within the page, distributing whitespace above and below the content area.

C#
public IStyleProperty<VerticalAlignment> VerticalAlignment { get; }
Property Value:

The vertical alignment property.