public class TaskPane
extends java.lang.Object
To learn more, visit the Work with Office Add-ins documentation article.
| Modifier and Type | Method and Description |
|---|---|
int |
getDockState()
Specifies the last-docked location of this task pane object.
|
int |
getRow()
Specifies the index, enumerating from the outside to the inside, of this task pane among other persisted task panes docked in the same default location.
|
WebExtension |
getWebExtension()
Represents an web extension object.
|
double |
getWidth()
Specifies the default width value for this task pane instance.
|
boolean |
isLocked()
Specifies whether the task pane is locked to the document in the UI and cannot be closed by the user.
|
void |
isLocked(boolean value)
Specifies whether the task pane is locked to the document in the UI and cannot be closed by the user.
|
boolean |
isVisible()
Specifies whether the task pane shows as visible by default when the document opens.
|
void |
isVisible(boolean value)
Specifies whether the task pane shows as visible by default when the document opens.
|
void |
setDockState(int value)
Specifies the last-docked location of this task pane object.
|
void |
setRow(int value)
Specifies the index, enumerating from the outside to the inside, of this task pane among other persisted task panes docked in the same default location.
|
void |
setWidth(double value)
Specifies the default width value for this task pane instance.
|
public int getRow()
int value.public void setRow(int value)
value - The corresponding int value.public double getWidth()
double value.public void setWidth(double value)
value - The corresponding double value.public boolean isLocked()
boolean value.public void isLocked(boolean value)
value - The corresponding boolean value.public boolean isVisible()
boolean value.public void isVisible(boolean value)
value - The corresponding boolean value.public int getDockState()
int value. The returned value is one of TaskPaneDockState constants.public void setDockState(int value)
value - The corresponding int value. The value must be one of TaskPaneDockState constants.public WebExtension getWebExtension()
WebExtension value.