DynaPDF Manual - Page 787

Previous Page 786   Index   Next Page 788

Function Reference
Page 787 of 883
The function sets optional flags to control the import of external PDF files. The flags are ignored by
the function ImportPage(). ImportPageEx() ignores the flags too if the page is imported outside of an
open page (see ImportPageEx() for further information). The flags are defined as a bit-mask;
multiple flags can be combined by using a bitwise or operator.
A second set of flags can be set with SetImportFlags2().
This function cannot fail; the return value is always 1.
Flag
Description
ifImportAll
If set, all objects of an external PDF file are imported.
ifContentOnly
If set, interactive objects are excluded from import.
ifNoContent
If set, the visual contents of external pages will not be imported. This flag can
be used to copy interactive objects from one file to another.
ifImportAsPage
If set, pages are not converted to templates. This flag is useful if an imported
page must not be used multiple times. Conversion to templates is
recommended if multiple imported pages should appear on the same page
since overlapping pages can cause resource conflicts.
ifCatalogAction
If set, catalog actions will be imported if any. The documents catalog is the root
object of a PDF file, which can trigger actions when the file will be opened,
closed, or printed. See AddActionToObj() for further information.
ifPageActions
If set, page actions are imported if any. A page action is an action that was
added to the page itself, not an object of a page.
ifBookmarks
If set, bookmarks are imported if any.
ifArticles
If set, Articles are imported if any.
ifPageLabels
If set, page labels are imported if any. If multiple files are imported, DynaPDF
imports the page labels of the first file only.
ifThumbs
If set, thumb nail images are imported if any. Thumb nails can be dynamically
created by Acrobat since Acrobat 5. The thumb nail images can be removed to
reduce disk space.
ifTranspGroups
If set, transparency groups are imported if any. If transparency groups are
removed the objects appear then opaque.
ifSeparationInfo
If set, the separation information dictionary will be imported if any.
 

Previous topic: SetIconColor, SetImportFlags

Next topic: SetImportFlags2