Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

DynaPDF Manual - Page 118

Previous Page 117   Index   Next Page 119

Function Reference
Page 118 of 750
AddFieldToHideAction
Syntax:
SI32 pdfAddFieldToHideAction(
const PPDF* IPDF, // Instance pointer
UI32 HideAct,
// Handle of the hide action
UI32 AField)
// Field handle
This function adds a field to a hide action. An arbitrary count of fields can be added to a hide action.
Remarks:
Acrobat 4 does not support radio buttons or group fields inside a hide action. The fields of a group
field or the check boxes of a radio button field must be added to a hide action separately. Since
Acrobat 5, group fields and radio buttons are supported too.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
AddFileComment
Syntax:
SI32 pdfAddFileComment(
const PPDF* IPDF,
// Instance pointer
const char* AText) // The comment that should be added
Under certain circumstances it can be useful to add one or more comments to a PDF file which are
not visible on screen or elsewhere in PDF viewer applications. The function AddFileComment() can
be used to add such comments to the end of the PDF file.
Comments are stored behind the %%EOF marker of the PDF file. The required space to save all
comments should not exceed 1024 bytes. However, all tests with larger comments didn't produce an
error in Adobe's Acrobat, but Ghostview fails if the space exceeds ~2000 bytes.
Remarks:
This function is implemented in an Ansi and Unicode compatible version. However, Unicode strings
are converted back to Ansi; unsupported characters appear as question mark (?).
File comments are prohibited in certain PDF standards like PDF/A.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: AddFieldToFormAction

Next topic: AddFontSearchPath