We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

how do you go about insert page number in the header

Thread ID:

Created:

Updated:

Platform:

Replies:

141811 Jan 5,2019 07:00 AM UTC Jan 7,2019 07:10 AM UTC JavaScript - EJ 2 1
loading
Tags: DocumentEditor
sampurnima kovi
Asked On January 5, 2019 07:00 AM UTC

how do you go about insert page number in the header

Ramya Thirugnanam [Syncfusion]
Replied On January 7, 2019 07:10 AM UTC

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 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;