Skip to main content

RichEditSelection.setFooterSubDocumentAsActiveByPageIndex(pageIndex) Method

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

Declaration

setFooterSubDocumentAsActiveByPageIndex(
    pageIndex: number
): void

Parameters

Name Type Description
pageIndex number

The active page’s index.

Remarks

richEdit.selection.setFooterSubDocumentAsActiveByPageIndex(0); 

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

See Also