Skip to main content

RichEditSelection.setHeaderSubDocumentAsActiveByPageIndex(pageIndex) Method

Creates a header sub-document (if it was not created before) and sets the header as the active sub-document. Moves the cursor to the header’s start position.

Declaration

setHeaderSubDocumentAsActiveByPageIndex(
    pageIndex: number
): void

Parameters

Name Type Description
pageIndex number

The active page’s index.

Remarks

richEdit.selection.setHeaderSubDocumentAsActiveByPageIndex(0); 

Refer to the following section for more information: Client Selection.

See Also