Set auto page number
You can use the setIsAutoFirstPageNumber method of the IPageSetup interface to choose whether to use automatic page number.