DynaPDF Manual - Page 744

Previous Page 743   Index   Next Page 745

Function Reference
Page 744 of 839
based images.
gfComplexText
This flag enables complex text layout. See section "Complex Text
Layout" for further information.
gfNoObjCompression
If set, object compression will be disabled. Object compression is
enabled by default if the PDF version is set to PDF 1.5 or higher.
gfDisableJavascript
If set, Javascript actions associated with the OnFormat event of text
fields are not executed to format the field value.
gfDisableBidiCtrls
Meaningful only if gfComplexText is set too. If set, bidi control
characters are ignored. This flag can be useful if the result of web
browsers should be emulated since web browsers do not support
bidi control characters. This flag is also used internally to create the
appearance stream of form fields since form fields do not support
bidi control characters.
gfDoNotComprMetadata
If set, metadata streams assiciated with fonts, templates, or images,
for example, will not be compressed. Metadata streams of PDF/X
files are always left uncompressed.
gfUpdatePDFVTModDate
If set, the key GTS_PDFVTModDate will be set to the file's
modification date. The key exists in PDF/VT files only.
gfSkaleAnnotIcons
If set, icons of text and file attach annotation are scaled with the
page like every other annotation. These annotations have normally
a fixed size that is indendent of the zoom or scaling factor.
SetIconColor
Syntax:
LBOOL pdfSetIconColor(
const PPDF* IPDF, // Instance pointer
UI32 Color)
// RGB color value
The icon color is used for the closed state of a text annotation. The annotation appears then as an
icon. The color value must be defined in RGB color space.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
Default value = 0x0099FFFF
 

Previous topic: SetGStateFlags

Next topic: SetImportFlags