Edit

Share via


Word.DocumentRangeOptions interface

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Provides configuration options for the Document.range method.

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

Properties

end

If provided, specifies the ending character position. The default value is the end of the document.

start

If provided, specifies the starting character position. The default value is 0.

Property Details

end

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If provided, specifies the ending character position. The default value is the end of the document.

end?: number;

Property Value

number

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

start

Note

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

If provided, specifies the starting character position. The default value is 0.

start?: number;

Property Value

number

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]