Click or drag to resize

DocumentSettings Class

Represents stored preferences which shall be used when processing the contents of the document.
Inheritance Hierarchy
SystemObject
  GemBox.DocumentDocumentSettings

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 29.0.35.1044
Syntax
public sealed class DocumentSettings

The DocumentSettings type exposes the following members.

Constructors
  NameDescription
Public methodDocumentSettings
Initializes a new instance of the DocumentSettings class.
Top
Properties
  NameDescription
Public propertyAttachedTemplate
Gets or sets the location of a document template which shall be attached to the current document if it is accessible and of a format supported by an application such as MS Word.
Public propertyBookFoldPrinting
Gets or sets a value indicating whether to print the document as a book fold. Supported only in DOCX format.
Public propertyBookFoldPrintingReverse
Gets or sets a value indicating whether to print the document as a reverse book fold. Supported only in DOCX format.
Public propertyBookFoldPrintingSheets
Gets or sets the number of pages to be included in each booklet.
Public propertyCompatibilityMode
Gets or sets the Microsoft Word compatibility mode. For Microsoft Word 2016, set this value to 15.
Public propertyDecimalSeparator
Gets or sets the string to use as the decimal separator in numeric values in the document.
Public propertyDefaultTabStop

Gets or sets the value which shall be used as the multiplier to generate automatic tab stops in this document.

Default value is 36 points (half an inch).

Public propertyEndnote
Gets the endnote settings.
Public propertyFootnote
Gets the footnote settings.
Public propertyMirrorPageMarings
Gets or sets a value indicating whether the left and right margins defined in the PageSetup shall be swapped on facing pages.
Public propertyTwoPagesOnOne
Gets or sets a value indicating whether to print two pages per sheet. Supported only in DOCX format.
Top
Methods
  NameDescription
Public methodClone
Clones this DocumentSettings instance.
Top
See Also