Javascript: PageBorder.getRightLineColor Method
Description
Gets the color of the right border line.
Syntax
<void> PageBorder.getRightLineColor(<RequestStringCallback> callback, [<ErrorCallback> errorCallback])Parameters
| Parameter | Description |
|---|---|
| callback | Receives the color of the right border line. |
| errorCallback | Optional. Is called when the operation failed with an error. |
Examples
The following example demonstrates PageBorder.getRightLineColor in a practical document-editing workflow. It gets the color of the right border line.
function onTxError(error) {
console.error("TX Text Control error:", error.msg);
error.handled = true;
}
function inspectRightLineColor(pageBorder) {
pageBorder.getRightLineColor(
function(result) {
console.log("get right line color result:", result);
},
onTxError
);
}