MoveCursorToStart

function MoveCursorToStart(isMoveToMainContent: boolean): void

Description

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

isMoveToMainContentboolean

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

Returns

void

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).