Custom TaskPane Properties

The Application property is defined at the beginning of this appendix.

Name

Returns

Description

Content Control

Read-only. Returns the ActiveX control instance displayed in the frame of the CustomTaskPane object.

Dock Position

MsoCTPDock Postion

Set/Get the position of the CustomTaskPane object; using one of the MsoCTPDockPostion constants.

DockPosition Restrict

MsoCTPDock

Postion

Restrict

Set/Get the orientation restriction of a given Custom TaskPane object using one of the MsoCTPDockPostion Restrict constants.

Height

Long

Set/Get the height of the CustomTaskPane object.

Title

String

Read-only. Returns the title of the CustomTaskPane object.

Visible

Boolean

Set/Get whether the CustomTaskPane object is displayed.

Width

Long

Set/Get the width of the CustomTaskPane object.

Window

Window

Read-only. Returns the parent window of the Custom TaskPane object.

0 0

Post a comment