rotateRight()

Description

Rotates the document in the editor by 90 degrees clockwise.

Syntax

DocumentEditorObject.document.rotateRight();

Parameters

None

Return value

bool

true indicates success. false indicates failure.

Remarks

If there is no document in the document editor, when you check getErrorString(), you will get an error "There is no document in the document editor.".

When false is returned, check getErrorCode() or getErrorString() for error information.

Example

if (DCSObject) {
    var documenteditor = DCSObject.getDocumentEditor("DocumentEditorContainer");
    documenteditor.document.rotateRight();
}

See Also

.document.rotateLeft()

Is this page helpful?

Leave a Reply

Your email address will not be published.