MsoCTPDockPositionRestrict Enumeration

Specifies retrictions on the docking behavior of the custom task pane.

Name

Value

Description

msoCTPDockPositionRestrictNoChange

1

There is no change from the current restriction setting for the task pane.

msoCTPDockPositionRestrictNoHorizontal

2

Task pane can't be docked to either the right or the left side of the document window.

msoCTPDockPositionRestrictNone

0

No restrictions on docking the task pane.

msoCTPDockPositionRestrictNoVertical

3

Task pane can't be docked to either the top or the bottom of the document window.