Pages Count

<< Click to Display Table of Contents >>

Navigation:  PDF-XChange Standard V9 User Manual > PDF-XChange Standard Printer Settings > Macros >

Pages Count


 

Main-Image Pages Count

 


 

The Pages Count macro adds the number of document pages.

 

The syntax for this macro is %[Pages]

 

Example

 

Follow the steps below to use the Pages macro to create a watermark:

 

1. Click Watermarks in the settings menu, then click Add:

 

macro.appname.1

Figure 1. Watermarks Settings Dialog Box, Add Watermark Button Highlighted

 

The Add/Edit Watermark dialog box will open.

 

2. Clear the Text text box, then click the macro icon and click Pages Count in the dropdown menu:

 

macro.pagecount

Figure 2. Add/Edit Watermark Dialog Box, Pages Count Macro Selected

 

The %[Pages] macro is then added to the text box, and the watermark text updates to the number of document pages. For example, in a three-page document, it appears as detailed below:

 

macro.pages.count

Figure 3. Add/Edit Watermark Dialog Box, %[Pages] Macro Example