Edit

Share via


Word.Interfaces.WindowCollectionLoadOptions interface

Represents the collection of Word.Window objects.

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

For EACH ITEM in the collection: Gets the active pane in the window.

areRulersDisplayed

For EACH ITEM in the collection: Specifies whether rulers are displayed for the window or pane.

areScreenTipsDisplayed

For EACH ITEM in the collection: Specifies whether comments, footnotes, endnotes, and hyperlinks are displayed as tips.

areThumbnailsDisplayed

For EACH ITEM in the collection: Specifies whether thumbnail images of the pages in a document are displayed along the left side of the Microsoft Word document window.

caption

For EACH ITEM in the collection: Specifies the caption text for the window that is displayed in the title bar of the document or application window.

height

For EACH ITEM in the collection: Specifies the height of the window (in points).

horizontalPercentScrolled

For EACH ITEM in the collection: Specifies the horizontal scroll position as a percentage of the document width.

imeMode

For EACH ITEM in the collection: Specifies the default start-up mode for the Japanese Input Method Editor (IME).

index

For EACH ITEM in the collection: Gets the position of an item in a collection.

isActive

For EACH ITEM in the collection: Specifies whether the window is active.

isDocumentMapVisible

For EACH ITEM in the collection: Specifies whether the document map is visible.

isEnvelopeVisible

For EACH ITEM in the collection: Specifies whether the email message header is visible in the document window. The default value is false.

isHorizontalScrollBarDisplayed

For EACH ITEM in the collection: Specifies whether a horizontal scroll bar is displayed for the window.

isLeftScrollBarDisplayed

For EACH ITEM in the collection: Specifies whether the vertical scroll bar appears on the left side of the document window.

isRightRulerDisplayed

For EACH ITEM in the collection: Specifies whether the vertical ruler appears on the right side of the document window in print layout view.

isSplit

For EACH ITEM in the collection: Specifies whether the window is split into multiple panes.

isVerticalRulerDisplayed

For EACH ITEM in the collection: Specifies whether a vertical ruler is displayed for the window or pane.

isVerticalScrollBarDisplayed

For EACH ITEM in the collection: Specifies whether a vertical scroll bar is displayed for the window.

isVisible

For EACH ITEM in the collection: Specifies whether the window is visible.

left

For EACH ITEM in the collection: Specifies the horizontal position of the window, measured in points.

next

For EACH ITEM in the collection: Gets the next document window in the collection of open document windows.

previous

For EACH ITEM in the collection: Gets the previous document window in the collection open document windows.

showSourceDocuments

For EACH ITEM in the collection: Specifies how Microsoft Word displays source documents after a compare and merge process.

splitVertical

For EACH ITEM in the collection: Specifies the vertical split percentage for the window.

state

For EACH ITEM in the collection: Specifies the state of the document window or task window.

styleAreaWidth

For EACH ITEM in the collection: Specifies the width of the style area in points.

top

For EACH ITEM in the collection: Specifies the vertical position of the document window, in points.

type

For EACH ITEM in the collection: Gets the window type.

usableHeight

For EACH ITEM in the collection: Gets the height (in points) of the active working area in the document window.

usableWidth

For EACH ITEM in the collection: Gets the width (in points) of the active working area in the document window.

verticalPercentScrolled

For EACH ITEM in the collection: Specifies the vertical scroll position as a percentage of the document length.

view

For EACH ITEM in the collection: Gets the View object that represents the view for the window.

width

For EACH ITEM in the collection: Specifies the width of the document window, in points.

windowNumber

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: Gets the active pane in the window.

activePane?: Word.Interfaces.PaneLoadOptions;

Property Value

Remarks

[ API set: WordApiDesktop 1.2 ]

areRulersDisplayed

For EACH ITEM in the collection: Specifies whether rulers are displayed for the window or pane.

areRulersDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

areScreenTipsDisplayed

For EACH ITEM in the collection: Specifies whether comments, footnotes, endnotes, and hyperlinks are displayed as tips.

areScreenTipsDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

areThumbnailsDisplayed

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: Specifies the height of the window (in points).

height?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

horizontalPercentScrolled

For EACH ITEM in the collection: Specifies the horizontal scroll position as a percentage of the document width.

horizontalPercentScrolled?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

imeMode

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: Gets the position of an item in a collection.

index?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isActive

For EACH ITEM in the collection: Specifies whether the window is active.

isActive?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isDocumentMapVisible

For EACH ITEM in the collection: Specifies whether the document map is visible.

isDocumentMapVisible?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isEnvelopeVisible

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: Specifies whether a horizontal scroll bar is displayed for the window.

isHorizontalScrollBarDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isLeftScrollBarDisplayed

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: Specifies whether the window is split into multiple panes.

isSplit?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isVerticalRulerDisplayed

For EACH ITEM in the collection: Specifies whether a vertical ruler is displayed for the window or pane.

isVerticalRulerDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isVerticalScrollBarDisplayed

For EACH ITEM in the collection: Specifies whether a vertical scroll bar is displayed for the window.

isVerticalScrollBarDisplayed?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

isVisible

For EACH ITEM in the collection: Specifies whether the window is visible.

isVisible?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

left

For EACH ITEM in the collection: Specifies the horizontal position of the window, measured in points.

left?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

next

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: Gets the previous document window in the collection open document windows.

previous?: Word.Interfaces.WindowLoadOptions;

Property Value

Remarks

[ API set: WordApiDesktop 1.4 ]

showSourceDocuments

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: 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.

For EACH ITEM in the collection: Specifies the state of the document window or task window.

state?: boolean;

Property Value

boolean

Remarks

[ API set: WordApi BETA (PREVIEW ONLY) ]

styleAreaWidth

For EACH ITEM in the collection: Specifies the width of the style area in points.

styleAreaWidth?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

top

For EACH ITEM in the collection: Specifies the vertical position of the document window, in points.

top?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

type

For EACH ITEM in the collection: Gets the window type.

type?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

usableHeight

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: 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

For EACH ITEM in the collection: Specifies the vertical scroll position as a percentage of the document length.

verticalPercentScrolled?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

view

For EACH ITEM in the collection: Gets the View object that represents the view for the window.

view?: Word.Interfaces.ViewLoadOptions;

Property Value

Remarks

[ API set: WordApiDesktop 1.4 ]

width

For EACH ITEM in the collection: Specifies the width of the document window, in points.

width?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]

windowNumber

For EACH ITEM in the collection: Gets an integer that represents the position of the window.

windowNumber?: boolean;

Property Value

boolean

Remarks

[ API set: WordApiDesktop 1.4 ]