New to Telerik Document ProcessingStart a free 30-day trial

Defines document-level settings for view type, tab stop width, and header/footer configuration. Use to control global document behavior and appearance.

Definition

Methods

Enumerates all style properties specific to document-level settings.

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

IEnumerable<IStyleProperty>

The style properties.

Overrides: DocumentElementPropertiesBase.EnumerateStyleProperties()

Retrieves the document-level style property matching the specified definition, or null if not applicable.

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

The property definition.

Returns:

IStyleProperty

Overrides: DocumentElementPropertiesBase.GetStylePropertyOverride(IStylePropertyDefinition)

Properties

Gets the default spacing between automatic tab stops in device independent pixels (1/96 inch) when explicit tab stops are not defined.

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

The default width of the tab stop.

Gets a value indicating whether the document uses distinct headers and footers for even-numbered and odd-numbered pages.

C#
public IStyleProperty<bool?> HasDifferentEvenOddPageHeadersFooters { get; }

Gets the suggested viewing mode for the document (e.g., PrintLayout, WebLayout, Normal).

C#
public IStyleProperty<DocumentViewType?> ViewType { get; }