[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Fields.AutoNumFieldOptions

AutoNumFieldOptions Class

Represents options for the AUTONUM field.

The AUTONUM field automatically numbers paragraphs sequentially.

Note: The AUTONUM field is considered obsolete and is provided only for compatibility with older versions of Microsoft Word. Use ListNumFieldOptions instead.

Inheritance
AutoNumFieldOptions
Implements
Namespace: GrapeCity.Documents.Word.Fields
Assembly: DS.Documents.Word.dll
Syntax
public class AutoNumFieldOptions : BaseFieldOptions, IFieldOptions
Public Class AutoNumFieldOptions
    Inherits BaseFieldOptions
    Implements IFieldOptions

Constructors

Name Description
AutoNumFieldOptions(ComplexField)

Initializes a new instance of the AutoNumFieldOptions class.

AutoNumFieldOptions(DocumentBase)

Initializes a new instance of the AutoNumFieldOptions class.

AutoNumFieldOptions(SimpleField)

Initializes a new instance of the AutoNumFieldOptions class.

Properties

Name Description
NumberStyle

Gets or sets the number formatting style.

The default value is Decimal.

Separator

Gets or sets the character that separates the field result from the following content.

The default value is the dot ('.') character.

Methods

Name Description
Load(ComplexField)

Loads options from the specified ComplexField.

Load(SimpleField)

Loads options from the specified SimpleField.

Save(ComplexField)

Saves the current options to the specified ComplexField.

Save(SimpleField)

Saves the current options to the specified SimpleField.

ToString()