Xojo Conferences
MBSOct2019CologneDE

DynaPDF Manual - Page 542

Previous Page 541   Index   Next Page 543

Function Reference
Page 542 of 770
The destination types are the same as for a go-to actions and the function creates in fact a go-to
action which is executed by the link annotation. However, the action is stored in a more compact
format and cannot be shared with other objects.
If a destination should be used with multiple objects such as bookmarks, create a go-to action instead
and add it to a normal page link (see PageLink()). The same action can then be added to other
objects.
Return values:
If the function succeeds the return value is the annotation handle, a value greater or equal zero. If the
function fails the return value is a negative error code.
ParseContent
Syntax:
LBOOL pdfParseContent(
const PPDF* IPDF,
// Instance pointer
const void* Data,
// User defined pointer
struct TPDFParseInterface* Stack, // Parser interface
TParseFlags Flags)
// See below
struct TPDFParseInterface
{
TApplyPattern*
ApplyPattern;
TBeginPattern*
BeginPattern;
TBeginTemplate*
BeginTemplate;
TBezierTo1*
BezierTo1;
TBezierTo2*
BezierTo2;
TBezierTo3*
BezierTo3;
TClipPath*
ClipPath;
TClosePath*
ClosePath;
TDrawShading*
DrawShading;
TEndPattern*
EndPattern;
TEndTemplate*
EndTemplate;
TLineTo*
LineTo;
TMoveTo*
MoveTo;
TMulMatrix*
MulMatrix;
TRectangle*
Rectangle;
TRestoreGraphicState* RestoreGraphicState;
TSaveGraphicState*
SaveGraphicState;
TSetCharSpacing*
SetCharSpacing;
TSetExtGState*
SetExtGState;
TSetFillColor*
SetFillColor;
TSetFont*
SetFont;
TSetLeading*
SetLeading;
TSetLineCapStyle*
SetLineCapStyle;
TSetLineDashPattern*
SetLineDashPattern;
TSetLineJoinStyle*
SetLineJoinStyle;
TSetLineWidth*
SetLineWidth;
 

Previous topic: PageLinkEx

Next topic: The Graphics State