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

DynaPDF Manual - Page 527

Previous Page 526   Index   Next Page 528

Function Reference
Page 527 of 750
The destination types dtFitB, dtFitBH_Top and dtFitBV_Left use the media box of the page to fit the
page into the window. All other destination types use the crop box if any.
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;
 

Previous topic: PageLinkEx

Next topic: The Graphics State