Xojo Conferences

DynaPDF Manual - Page 627

Previous Page 626   Index   Next Page 628

Function Reference
Page 627 of 770
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: SetAnnotOpacity, SetAnnotOpenState

Next topic: SetAnnotString, SetAnnotSubject