dcpdf_CreateTiffFromPDF_CreateDocs

Converts each page of a PDF file into a TIFF file and creates a runtime hierarchy.

Member of namespace

dcpdf

Syntax

bool dcpdf_CreateTiffFromPDF_CreateDocs (strParam)

Parameters

The parameter can be True or False.

True: Causes a document hierarchy to be created when TIFF pages are created from a PDF file.

False: A document hierarchy will not be created, making this action operate exactly like dcpdf_CreateTiffFromPDF.

Returns

False, if the action is not run at the Batch level, or if the source PDF file does not have a minimum number of pages (0). Otherwise, True.

Level

Batch Level.

Details

This action converts the pages in a PDF file to TIFFs, like dcpdf_CreateTiffFromPDF. The difference is that if the parameter is True, a document hierarchy will be created for each PDF to group each of the pages from a single PDF into their own document.
Start of change
Important: The font mapping file, used by the convert actions to extract images from PDF, uses "Lucida Unicode" as the default font. The Lucida Unicode font is installed by default in the Microsoft Windows operating system, which makes it a reliable default font setting. It is possible that the font Arial Sans Unicode might perform better in some instances when converting from PDF to image. You can change the configuration file to use this font, or other fonts, instead of the default font. However, if the specified font is not installed on the machine that is performing the conversion, the text will render as blank on the final image.
To change the font that is used to render a PDF to image, modify the fontfile.map file, located in \Datacap\dcshared\VeryPDF, as follows:
  1. Open fontfile.map in any text editor.
  2. Change the defaultwinfont value from L_10646.ttf to ARIALUNI.TTF
  3. Save the changes and exit.
This example will change the default font from Lucida Unicode to Arial Sans Unicode.End of change

Start of changePrevious versions of the Convert actions used Arial Sans Unicode as the default font. This default was changed in current versions since this font is not installed by default in the Windows operating system. End of change

Example:
dcpdf_CreateTiffFromPDF_CreateDocs("True")	

In this example, the action uses a primary algorithm to establish a runtime Document for each source document in the PDF file, and assign pages to the runtime Documents according to their placement in the source PDF files.