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.
Namespace:DevExpress.Web.ASPxRichEdit.Scripts
Assembly:JavaScript

Syntax
JavaScript |
function setHeaderSubDocumentAsActiveByPageIndex(
pageIndex : int
);
|
Parameters
-
pageIndex
-
Type: Int32
An integer value specifying the active page's index.

Remarks
Usage Example:
JavaScript |
richEdit.selection.setHeaderSubDocumentAsActiveByPageIndex(0);
|

See Also