Word.Interfaces.IndexLoadOptions interface
Represents a single index. The Index object is a member of the Word.IndexCollection. The IndexCollection includes all the indexes in the document.
Remarks
Properties
| $all | Specifying |
| filter | Gets a value that represents how Microsoft Word classifies the first character of entries in the index. See |
| heading |
Gets the text between alphabetical groups (entries that start with the same letter) in the index. Corresponds to the \h switch for an INDEX field. |
| index |
Gets a |
| number |
Gets the number of columns for each page of the index. |
| range | Returns a |
| right |
Specifies if page numbers are aligned with the right margin in the index. |
| separate |
Gets if the index contains separate headings for accented letters (for example, words that begin with "À" are under one heading and words that begin with "A" are under another). |
| sort |
Specifies the sorting criteria for the index. |
| tab |
Specifies the leader character between entries in the index and their associated page numbers. |
| type | Gets the index type. |
Property Details
$all
Specifying $all for the load options loads all the scalar properties (such as Range.address) but not the navigational properties (such as Range.format.fill.color).
$all?: boolean;
Property Value
boolean
filter
Gets a value that represents how Microsoft Word classifies the first character of entries in the index. See IndexFilter for available values.
filter?: boolean;
Property Value
boolean
Remarks
headingSeparator
Gets the text between alphabetical groups (entries that start with the same letter) in the index. Corresponds to the \h switch for an INDEX field.
headingSeparator?: boolean;
Property Value
boolean
Remarks
indexLanguage
Gets a LanguageId value that represents the sorting language to use for the index.
indexLanguage?: boolean;
Property Value
boolean
Remarks
numberOfColumns
Gets the number of columns for each page of the index.
numberOfColumns?: boolean;
Property Value
boolean
Remarks
range
Returns a Range object that represents the portion of the document that is contained within the index.
range?: Word.Interfaces.RangeLoadOptions;
Property Value
Remarks
rightAlignPageNumbers
Specifies if page numbers are aligned with the right margin in the index.
rightAlignPageNumbers?: boolean;
Property Value
boolean
Remarks
separateAccentedLetterHeadings
Gets if the index contains separate headings for accented letters (for example, words that begin with "À" are under one heading and words that begin with "A" are under another).
separateAccentedLetterHeadings?: boolean;
Property Value
boolean
Remarks
sortBy
Specifies the sorting criteria for the index.
sortBy?: boolean;
Property Value
boolean
Remarks
tabLeader
Specifies the leader character between entries in the index and their associated page numbers.
tabLeader?: boolean;
Property Value
boolean