TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

MoveCursorToStart

MoveCursorToStart(isMoveToMainContent)

Moves a cursor to the beginning of the current editing area (document body, footer/header, footnote, or autoshape). This method is similar to pressing the Ctrl + Home keyboard shortcut.

Parameters:

Name Type Description
isMoveToMainContent boolean

This flag ignores the current position and always moves a cursor to the beginning of the document body.

Returns:

This method doesn't return any data.

Example

Copy code
window.Asc.plugin.executeMethod ("MoveCursorToStart", [true]);