Xojo Conferences
MBSSep2018MunichDE
XDCMay2019MiamiUSA

DynaPDF Manual - Page 671

Previous Page 670   Index   Next Page 672

Function Reference
Page 671 of 750
Flag
Description
if2MergeLayers
If set, layers of different PDF files with the same name are merged. That
means the layer names in the same hierarchy will be unique. A merged
layer controls the visibility of layers from different imported PDF files.
If the flag is absent (default) it is possible that the same layer name
occurs multiple times in the same hierarchy.
if2Normalize
This flag must be set if the file should be normalized with
CheckConformance(). The flag enables additional limit checks, LZW
compression will be replaced with Flate, and further repairs are applied
which are not enabled by default.
If2UseProxy
If set, stream objects are not loaded into memory to reduce the memory
usage. This makes it possible to import PDF files of almost arbitrary size
with minimal memory usage. Nothing special must be considered if
this flag is set. It is also allowed to call CloseImportFile() after the
whished pages were imported. The file is automatically opened again
when streams must be loaded.
PDF files which were loaded in this way must not be deleted before the
new PDF file in memory was closed.
This flag is not meaningful for memory PDF files.
if2NoMetadata
If set, metadata streams which are attached to fonts, images, pages,
templates, and so on will not be imported.
if2DuplicateCheck
If set, the import algorithm performs a duplicate check on recourse objects like
images, templates, fonts, and so on, as well as on many other objects. This flag
can be useful if a PDF file must be split into separate files and if these files
must be merged again into one PDF file. Such an action would normally lead
to many double objects in the resulting PDF file.
The duplicate check is computation intensive and must be applied for all PDF
files which will be imported.
if2NoResNameCheck
Import resources as is. This flag can significantly imporove the loading time of
pages with a huge resource tree. This flag should only be set in viewer
applications to improve the loading time of pages.
if2CopyEncryptDict
If set, the encryption settings of an enrypted PDF file are copied to the
document in memory when OpenImportFile() or OpenImportBuffer() is called.
This makes it possible to edit and save a PDF file without loosing the
encryption settings. The PDF file must be closed with CloseFile() or
CloseAndSignFile(), for example since CloseFileEx() would override the
encryption settings.
 

Previous topic: SetImportFlags2

Next topic: SetJPEGQuality