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

DynaPDF Manual - Page 121

Previous Page 120   Index   Next Page 122

Function Reference
Page 121 of 750
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