[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Settings

Settings Class

Represents options that control protection, view, compatibility and other settings.

Inheritance
Settings
Namespace: GrapeCity.Documents.Word
Assembly: DS.Documents.Word.dll
Syntax
public class Settings : FormattingBag
Public Class Settings
    Inherits FormattingBag

Properties

Name Description
AttachedTemplate

Gets or sets the full path of the template attached to the document.

AttachedXmlSchemas

Gets the list of custom XML schema whose target namespace should be associated with this document when it is loaded, if such a schema is available to the hosting application. Applications can also load and utilize any additional schemas as well as those explicitly mentioned here. These custom XML schemas can then be used to validate the structure of the XmlDocument in the document, etc.

AutomaticallyUpdateSyles

Gets or sets a value indicating whether the styles in the document are updated to match the styles in the attached template each time the document is opened in MS Word.

BaseKey

Gets the base (this class) key for formatting properties.

BuiltinProperties

Returns an object that represents all the built-in document properties of the document.

CompatibilityOptions

Provides access to document compatibility options.

CustomProperties

Returns a collection that represents all the custom document properties of the document.

DocumentProtection

Provides access to options that control the document protection features.

EastAsianTypography

Provides access to East Asian typography options.

EndnoteOptions

Provides options that control numbering and positioning of endnotes in the document.

FootnoteOptions

Provides options that control numbering and positioning of footnotes in the document.

HasMacros

Gets a value indicating whether the document has a VBA project (macros).

HyphenationOptions

Provides access to document hyphenation options.

LocaleName

Gets or sets the default locale name (language) of formatted characters.

LocaleNameBi

Gets or sets the locale name (language) of complex script characters.

LocaleNameFarEast

Gets or sets the locale name (language) of formatted Asian characters.

OMathOptions

Provides access to the Office Math zone options on the document level.

SaveOptions

Gets the document save options.

Variables

Returns the collection of variables added to the document.

ViewOptions

Provides various options that control how a document is shown in application.

Methods

Name Description
GetThemeColor(ThemeColorId)

Gets a ThemeColor from the ColorScheme by its ThemeColorId.

RemapColor(ThemeColorId, ThemeColorSchemeId)

Sets the color mapping layer which allows a user to define colors for background and text. This allows for swapping out of light/dark colors for backgrounds and the text on top of the background in order to maintain readability of the text on a deeper level.

RemoveMacros()

Removes all macros (the VBA project) as well as toolbars and command customizations from the document.