Previous Next


                                            373
SECTION 4.10                                                          Optional Content



  /OC /OC3 BDC                  % Draws an image XObject
      q
      412 0 0 592 100 100 cm
      /Im3 Do
      Q
  EMC
  /OC /OC4 BDC                  % Draws an image XObject
      q
      412 0 0 592 100 100 cm
      /Im4 Do
      Q
  EMC
  ...

  <<                             % The resource dictionary
       /Properties << /OC2 20 0 R /OC3 30 0 R /OC4 40 0 R >>
       /XObject << /lm3 50 0 R /lm4 /60 0 R >>
  >>

  20 0 obj
  <<                            % Optional content membership dictionary
     /Type /OCMD
     /OCGs [30 0 R 40 0 R]
     /P /AnyOn
  >>
  endobj
  30 0 obj                      % Optional content group “Image A”
  <<
     /Type /OCG
     /Name (Image A)
  >>
  endobj
  40 0 obj                      % Optional content group “Image B”
  <<
     /Type /OCG
     /Name (Image B)
  >>
  endobj

Previous Next