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

DynaPDF Manual - Page 608

Previous Page 607   Index   Next Page 609

Function Reference
Page 608 of 750
LBOOL pdfSetAnnotOrFieldDate(
const PPDF* IPDF, // Instance pointer
UI32 Handle,
// Annotation or field handle
LBOOL IsField,
// If true, Handle is a field handle
TDateType Type,
// See below
UI32 DateTime)
// Number of seconds elapsed since January 1, 1970
typedef enum
dtCreationDate, // Markup annotations only
// Annotations or form fields
The function sets or changes the creation or modification date of an annotation or form field. If the
parameter IsField is set to true, a valid field handle must be passed to the parameter Handle. An
annotation handle is expected otherwise.
Annotations and form fields support a modification date but a creation date is supported by markup
annotations only.
The function GetAnnotEx() or GetPageAnnotEx() can be used to determine whether an annotation is
a markup annotation.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
LBOOL pdfSetAnnotQuadPoints(
const PPDF* IPDF,
// Instance pointer
UI32 Handle,
// Annotation handle
struct TFltPoint* Value, // Array of 4 x n points
UI32 Count)
// Number of points
The functions sets or changes the quad points defintion of a Highlight, Link, Redakt, Squiggly,
StrikeOut, or Underline annotation. The function must be called within an open page.
Independent of the used coordinate system (bottom up or top down), the points must be defined in
the following order:

Previous topic: SetAnnotOpenState

Next topic: SetAnnotSubject