Hi,
I install today the product and I try to make a PDF file union 2 PDF; it's perfect.
I have a question before buy a product: in merge document it is possibile to insert the page number by runtime, i don't know the number of page in report because is a Crystal report that generate the PDF file?
Thanks for help
Serena
Number of page
Re: Number of page
Support · Oct 27, 2008Hello Serena,
Yes, you can add the page numbers to an existing PDF document without any problem. You will have to use the PageNumberingLabel page element. You can refer to the PageNumberingLabel
class on our help documentation.
Thanks,
ceTe Software Support Team.
Re: Number of page
Forum member · Oct 27, 2008Thanks for your response.
I try coping the example that I found in help documentation.
But coping
documentTemplate.Elements.Add( New PageNumberingLabel( _
"/%/%PR/%/%/%/%SP/%/% of /%/%ST/%/%", 0, 680, 512, 12, Font.Helvetica, _
12, TextAlign.Center ) )
in the result file I found "/%/%PR/%/%/%/%SP/%/% of /%/%ST/%/%" not 1 of 2, why ? What I can I do??
Serena
Re: Number of page
Support · Oct 27, 2008Hello Serena,
You are not seeing the page numbers because the token you are using in the PageNumberingLabel is wrong. You do not have to use the "/" in the page numbering token. You will have to use the following line of code for this.
documentTemplate.Elements.Add( New PageNumberingLabel("%%PR%% %%SP%% of %%ST%%", 0, 680, 512, 12, Font.Helvetica, 12, TextAlign.Center ) )
Thanks,
ceTe Software Support Team.