Xojo Conferences
MBSOct2019CologneDE

DynaPDF Manual - Page 124

Previous Page 123   Index   Next Page 125

Function Reference
Page 124 of 770
AddInkList
Syntax:
LBOOL pdfAddInkList(
const PPDF* IPDF,
// Instance pointer
UI32 InkAnnot,
// Handle of an ink annotation.
struct TFltPoint* Points, // Array of points
UI32 NumPoints)
// Number of points in the array
The function adds an array of points or path to an Ink Annotation. The function must be called
within an open page.
An ink annotation can contain an arbitrary number of paths. The points will be connected by curves
to achieve a smooth transition between points. The coordinates are treated in current user space. Any
transformation that was applied on the coordinate system will be taken into account.
If the number of points is zero then all paths will be deleted from the annotation.
Return values:
If the function succeeds the return value is 1. If the function fails the return value is 0.
 

Previous topic: AddImage

Next topic: AddJavaScript