WebExtensionTaskPane

WebExtensionTaskPane class

Represents a persisted taskpane object.

class WebExtensionTaskPane;

Properties

PropertyTypeDescription
webExtensionWebExtensionGets and sets the web extension part associated with the taskpane instance
dockStatestringGets and sets the last-docked location of this taskpane object.
isVisiblebooleanIndicates whether the Task Pane shows as visible by default when the document opens.
isLockedbooleanIndicates whether the taskpane is locked to the document in the UI and cannot be closed by the user.
widthnumberGets and sets the default width value for this taskpane instance.
rownumberGets and sets the index, enumerating from the outside to the inside, of this taskpane among other persisted taskpanes docked in the same default location.

Methods

MethodDescription
getWebExtension()@deprecated. Please use the ‘webExtension’ property instead. Gets and sets the web extension part associated with the taskpane instance
setWebExtension(WebExtension)@deprecated. Please use the ‘webExtension’ property instead. Gets and sets the web extension part associated with the taskpane instance
getDockState()@deprecated. Please use the ‘dockState’ property instead. Gets and sets the last-docked location of this taskpane object.
setDockState(string)@deprecated. Please use the ‘dockState’ property instead. Gets and sets the last-docked location of this taskpane object.
isVisible()@deprecated. Please use the ‘isVisible’ property instead. Indicates whether the Task Pane shows as visible by default when the document opens.
setIsVisible(boolean)@deprecated. Please use the ‘isVisible’ property instead. Indicates whether the Task Pane shows as visible by default when the document opens.
isLocked()@deprecated. Please use the ‘isLocked’ property instead. Indicates whether the taskpane is locked to the document in the UI and cannot be closed by the user.
setIsLocked(boolean)@deprecated. Please use the ‘isLocked’ property instead. Indicates whether the taskpane is locked to the document in the UI and cannot be closed by the user.
getWidth()@deprecated. Please use the ‘width’ property instead. Gets and sets the default width value for this taskpane instance.
setWidth(number)@deprecated. Please use the ‘width’ property instead. Gets and sets the default width value for this taskpane instance.
getRow()@deprecated. Please use the ‘row’ property instead. Gets and sets the index, enumerating from the outside to the inside, of this taskpane among other persisted taskpanes docked in the same default location.
setRow(number)@deprecated. Please use the ‘row’ property instead. Gets and sets the index, enumerating from the outside to the inside, of this taskpane among other persisted taskpanes docked in the same default location.
isNull()Checks whether the implementation object is null.

webExtension

Gets and sets the web extension part associated with the taskpane instance

webExtension : WebExtension;

dockState

Gets and sets the last-docked location of this taskpane object.

dockState : string;

isVisible

Indicates whether the Task Pane shows as visible by default when the document opens.

isVisible : boolean;

isLocked

Indicates whether the taskpane is locked to the document in the UI and cannot be closed by the user.

isLocked : boolean;

width

Gets and sets the default width value for this taskpane instance.

width : number;

row

Gets and sets the index, enumerating from the outside to the inside, of this taskpane among other persisted taskpanes docked in the same default location.

row : number;

getWebExtension()

@deprecated. Please use the ‘webExtension’ property instead. Gets and sets the web extension part associated with the taskpane instance

getWebExtension() : WebExtension;

Returns

WebExtension

setWebExtension(WebExtension)

@deprecated. Please use the ‘webExtension’ property instead. Gets and sets the web extension part associated with the taskpane instance

setWebExtension(value: WebExtension) : void;

Parameters:

ParameterTypeDescription
valueWebExtensionThe value to set.

getDockState()

@deprecated. Please use the ‘dockState’ property instead. Gets and sets the last-docked location of this taskpane object.

getDockState() : string;

setDockState(string)

@deprecated. Please use the ‘dockState’ property instead. Gets and sets the last-docked location of this taskpane object.

setDockState(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

isVisible()

@deprecated. Please use the ‘isVisible’ property instead. Indicates whether the Task Pane shows as visible by default when the document opens.

isVisible() : boolean;

setIsVisible(boolean)

@deprecated. Please use the ‘isVisible’ property instead. Indicates whether the Task Pane shows as visible by default when the document opens.

setIsVisible(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

isLocked()

@deprecated. Please use the ‘isLocked’ property instead. Indicates whether the taskpane is locked to the document in the UI and cannot be closed by the user.

isLocked() : boolean;

setIsLocked(boolean)

@deprecated. Please use the ‘isLocked’ property instead. Indicates whether the taskpane is locked to the document in the UI and cannot be closed by the user.

setIsLocked(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getWidth()

@deprecated. Please use the ‘width’ property instead. Gets and sets the default width value for this taskpane instance.

getWidth() : number;

setWidth(number)

@deprecated. Please use the ‘width’ property instead. Gets and sets the default width value for this taskpane instance.

setWidth(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getRow()

@deprecated. Please use the ‘row’ property instead. Gets and sets the index, enumerating from the outside to the inside, of this taskpane among other persisted taskpanes docked in the same default location.

getRow() : number;

setRow(number)

@deprecated. Please use the ‘row’ property instead. Gets and sets the index, enumerating from the outside to the inside, of this taskpane among other persisted taskpanes docked in the same default location.

setRow(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;