Skip to main content
A newer version of this page is available. .

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

An integer value specifying the active page’s index.

Remarks

richEdit.selection.setHeaderSubDocumentAsActiveByPageIndex(0); 

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

See Also