Add Variable Text

Belongs to

What it does

Automatically adds text to the pages of your choice in your PDF documents. This can be:
  • Static text, for example a header or footer.
  • Dynamic, variable text, for example a page number or the current date and time.

You can choose the font, size, color, and position of the text, and a number of other settings, such as a white background.

How to proceed

  1. Under Text Settings, specify the text to insert, the font, the size and the color.
    • To use the properties of a text that is present in the PDF:
      1. Select the text concerned using the PitStop Object Select tool.
      2. Click and select the appropriate option(s), depending on what you want to use from your selection
        • Grab Text (text only)
        • Grab Font Style (font and font size only)
        • Grab Color (font color only)
    • To manually choose the preferred text, font, size and color, enter the appropriate values in the different fields.
    • To use variable text,
      1. Click Use Variable.
      2. In the Use Variable dialog, select the appropriate variable, for example "%Current Document Name%" or "%Time%". For an overview of all variables, refer to Variables.
        Note: At run-time, these variables will be replaced with the appropriate values. Below the list of variables, you can see what the current value is.
      3. Click Insert. The inserted variable is shown in the Text field.
      Note: You can combine static text and variables as required, for example: "Page %Page Number%", which will result in: "Page 1, Page 2, ..."
  2. Under Position, indicate where the text should be inserted on the page (i.e. relative to one of the page boxes).
  3. Under Options, select the appropriate setting(s):
    • Remove existing text that overlaps with the new text: In case of overlapping text, removes the text that is already present in the PDF.
    • Only add text to pages that already have text at the specified position: Does not add text if there is for example an image at the specified position.
    • Add a white background: Adds a white background, to ensure that the text is visible, even if the PDF has a dark background.