Previous Next


                                           646
CHAPTER 8                                                               Interactive Features



Example 8.10

  8 0 obj                          % Watermark appearance
      <<
          /Length ...
          /Subtype /Form
          /Resources ...
          /BBox ...
      >>
      stream
      ...
          BT
          /F1 1 Tf
          36 0 0 36 0 -36 Tm
          (Do Not Build) Tx
          ET
          ...
      endstream
  endobj

  9 0 obj                          % Watermark annotation
      <<
         /Rect ...
         /Type /Annot
         /Subtype /Watermark
         /FixedPrint 10 0 R
         /AP <</N 8 0 R>>
      >>

  % in the page dictionary
     /Annots [9 0 R]

  10 0 obj                         % Fixed print dictionary
     <<
        /Type /FixedPrint
        /Matrix [1 0 0 1 72 -72]   % Translate one inch right and one inch down
        /H 0
        /V 1.0                     % Translate the full height of the page vertically
     >>
  endobj

Previous Next