DynaPDF Manual - Page 705

Previous Page 704   Index   Next Page 706

Function Reference
Page 705 of 787
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.
SetItalicAngle
Syntax:
LBOOL pdfSetItalicAngle(
const PPDF* IPDF, // Instance pointer
double Angle)
// Angle alpha in degrees
The property ItalicAngle is used to emulate an italic font if the font is not available in an italic style.
To avoid emulation set the angle to zero.
The italic angle must not be smaller than -30 degrees and not larger than 30 degrees.
Default value = 14.0
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: SetImportFlags2

Next topic: SetJPEGQuality, SetLanguage, Language Identifiers

Start Chat