22.03.2015 Views

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

DLI Implementation and Reference Guide - Datalogics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Bookmark Creation 14.3<br />

dlpdfdocoutlineadd<br />

This method adds a new outline entry to the document:<br />

• The first parameter specifies the document in which it is to reside.<br />

• The second, if not NULL, is the h<strong>and</strong>le of a parent structure.<br />

• The third, if not NULL, is the desired younger sibling (if NULL, it will be added as<br />

the last child of that parent).<br />

• The fourth parameter is required <strong>and</strong> is the text that will be displayed for this<br />

outline entry.<br />

• The fifth is a flag. If TRUE, the entry will be displayed initially as open (its children<br />

will be displayed). If FALSE, it will be displayed initially as closed.<br />

The following parameters describe a location which is to be displayed if this entry is<br />

selected.<br />

• First is a page number (the first page is zero)<br />

• Second is a FitType, a text string, as defined in the PDF Specification, section<br />

6.8.1.<br />

• Third is an ASFixed Rectangle, describing a location of the page to be<br />

displayed<br />

• Last is a zoom factor, indicating how much the size of the display should increase or<br />

decrease. (PDViewDestNull indicates “Do not change.”)<br />

These last 4 parameters are identical to the destination specifications for links, in the<br />

previous section.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!