You are here: Section Rules Reference > Section Rules Summary > AddMultiPageBitmap > Using the SRCH Option

Using the SRCH Option

This example imports PDF files (F_SCH1.PDF, F_SCH2.PDF, and F_SCH3.PDF) based on the content of lines in the file designated by the ExtrFile option in the Data control group. Using this file, the GenData program adds the images contained in the three PDF files to the form set. Each image in the PDF file causes a duplicate of the original FAP file to be appended to the form. This duplicate contains the bitmap image. The bitmap images are embedded in the NA file because the Embed option is set to Yes.

Here is an example of the extract file records pointed to by the ExtrFile option:

0 1

1 1

SCOxxxxxxxHEADERREC

PDF_File_Name .\PDF\F_SCH1.PDF

Note This option lets you import and process multiple PDF files because of the way the file name and path are specified — one file per entry in the file pointed to by the ExtrFile option.