Edit

Share via


Word.Interfaces.WindowLoadOptions interface

Represents the window that displays the document. A window can be split to contain multiple reading panes.

Remarks

[ API set: WordApiDesktop 1.2 ]

Properties

$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).

activePane

Gets the active pane in the window.

areRulersDisplayed

Specifies whether rulers are displayed for the window or pane.

areScreenTipsDisplayed

Specifies whether comments, footnotes, endnotes, and hyperlinks are displayed as tips.

areThumbnailsDisplayed

Specifies whether thumbnail images of the pages in a document are displayed along the left side of the Microsoft Word document window.

caption

Specifies the caption text for the window that is displayed in the title bar of the document or application window.

height

Specifies the height of the window (in points).

horizontalPercentScrolled

Specifies the horizontal scroll position as a percentage of the document width.

imeMode

Specifies the default start-up mode for the Japanese Input Method Editor (IME).

index

Gets the position of an item in a collection.

isActive

Specifies whether the window is active.

isDocumentMapVisible

Specifies whether the document map is visible.

isEnvelopeVisible

Specifies whether the email message header is visible in the document window. The default value is false.

isHorizontalScrollBarDisplayed

Specifies whether a horizontal scroll bar is displayed for the window.

isLeftScrollBarDisplayed

Specifies whether the vertical scroll bar appears on the left side of the document window.

isRightRulerDisplayed

Specifies whether the vertical ruler appears on the right side of the document window in print layout view.

isSplit

Specifies whether the window is split into multiple panes.

isVerticalRulerDisplayed

Specifies whether a vertical ruler is displayed for the window or pane.

isVerticalScrollBarDisplayed

Specifies whether a vertical scroll bar is displayed for the window.

isVisible

Specifies whether the window is visible.

left

Specifies the horizontal position of the window, measured in points.

next

Gets the next document window in the collection of open document windows.

previous

Gets the previous document window in the collection open document windows.

showSourceDocuments

Specifies how Microsoft Word displays source documents after a compare and merge process.

splitVertical

Specifies the vertical split percentage for the window.

state

Specifies the state of the document window or task window.

styleAreaWidth

Specifies the width of the style area in points.

top

Specifies the vertical position of the document window, in points.

type

Gets the window type.

usableHeight

Gets the height (in points) of the active working area in the document window.

usableWidth

Gets the width (in points) of the active working area in the document window.

verticalPercentScrolled

Specifies the vertical scroll position as a percentage of the document length.

view

Gets the View object that represents the view for the window.

width

Specifies the width of the document window, in points.

windowNumber

Gets an integer that represents the position of the window.

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

activePane

Gets the active pane in the window.

activePane?: Word.Interfaces.PaneLoadOptions;

Property Value

Remarks

[ API set: WordApiDesktop 1.2 ]

areRulersDisplayed

Specifies whether rulers are displayed for the window or pane.

areRulersDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

areScreenTipsDisplayed

Specifies whether comments, footnotes, endnotes, and hyperlinks are displayed as tips.

areScreenTipsDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

areThumbnailsDisplayed

Specifies whether thumbnail images of the pages in a document are displayed along the left side of the Microsoft Word document window.

areThumbnailsDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

caption

Specifies the caption text for the window that is displayed in the title bar of the document or application window.

caption?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

height

Specifies the height of the window (in points).

height?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

horizontalPercentScrolled

Specifies the horizontal scroll position as a percentage of the document width.

horizontalPercentScrolled?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

imeMode

Specifies the default start-up mode for the Japanese Input Method Editor (IME).

imeMode?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

index

Gets the position of an item in a collection.

index?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isActive

Specifies whether the window is active.

isActive?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isDocumentMapVisible

Specifies whether the document map is visible.

isDocumentMapVisible?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isEnvelopeVisible

Specifies whether the email message header is visible in the document window. The default value is false.

isEnvelopeVisible?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isHorizontalScrollBarDisplayed

Specifies whether a horizontal scroll bar is displayed for the window.

isHorizontalScrollBarDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isLeftScrollBarDisplayed

Specifies whether the vertical scroll bar appears on the left side of the document window.

isLeftScrollBarDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isRightRulerDisplayed

Specifies whether the vertical ruler appears on the right side of the document window in print layout view.

isRightRulerDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isSplit

Specifies whether the window is split into multiple panes.

isSplit?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isVerticalRulerDisplayed

Specifies whether a vertical ruler is displayed for the window or pane.

isVerticalRulerDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isVerticalScrollBarDisplayed

Specifies whether a vertical scroll bar is displayed for the window.

isVerticalScrollBarDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isVisible

Specifies whether the window is visible.

isVisible?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

left

Specifies the horizontal position of the window, measured in points.

left?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

next

Gets the next document window in the collection of open document windows.

next?: Word.Interfaces.WindowLoadOptions;

Property Value

Remarks

[ API set: WordApiDesktop 1.4 ]

previous

Gets the previous document window in the collection open document windows.

previous?: Word.Interfaces.WindowLoadOptions;

Property Value

Remarks

[ API set: WordApiDesktop 1.4 ]

showSourceDocuments

Specifies how Microsoft Word displays source documents after a compare and merge process.

showSourceDocuments?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

splitVertical

Specifies the vertical split percentage for the window.

splitVertical?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

state

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.

Specifies the state of the document window or task window.

state?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

styleAreaWidth

Specifies the width of the style area in points.

styleAreaWidth?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

top

Specifies the vertical position of the document window, in points.

top?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

type

Gets the window type.

type?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

usableHeight

Gets the height (in points) of the active working area in the document window.

usableHeight?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

usableWidth

Gets the width (in points) of the active working area in the document window.

usableWidth?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

verticalPercentScrolled

Specifies the vertical scroll position as a percentage of the document length.

verticalPercentScrolled?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

view

Gets the View object that represents the view for the window.

view?: Word.Interfaces.ViewLoadOptions;

Property Value

Remarks

[ API set: WordApiDesktop 1.4 ]

width

Specifies the width of the document window, in points.

width?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

windowNumber

Gets an integer that represents the position of the window.

windowNumber?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]