Hi Sampurnima,
Currently, we don’t have support for inserting page number directly in to header region. But, we have support for inserting page number at current cursor position. We have provided code example to represent this. Please find the code example as below.
/**
* Initialize document editor
*/
let documenteditor: DocumentEditor = new DocumentEditor();
documenteditor.appendTo("#container")
// Insert Page number at current cursor position
documenteditor.editor.insertPageNumber();
|
Regards,
Ramya T