Hi All,
I currently take the following code to delete page number from a pdf.
Is there other way to do the same thing?
'Move old page number
Dim contentEditor As New Aspose.Pdf.Facades.PdfContentEditor()
'bind input PDF file
contentEditor.BindPdf(inPutFile)
'make sure the regular expression strategy is being used
contentEditor.ReplaceTextStrategy.IsRegularExpressionUsed = True
'specify that you want to replace all the matching string
'by default only the first string will be replaced
contentEditor.ReplaceTextStrategy.ReplaceScope = Aspose.Pdf.Facades.ReplaceTextStrategy.Scope.REPLACE_ALL
'replace any string like 5467-3986-7 with new string
contentEditor.ReplaceText("[0-9.]*[A-Z.]*[a-z.]*[ ]*Page [0-9]+ of [0-9]+", String.Empty)
'save output PDF file
contentEditor.Save(outPutFile)
Samuel