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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

A.112 <strong>DLI</strong> <strong>Reference</strong> <strong>Guide</strong><br />

dlpdfpageaddtextannotation (DLPDFPAGE<br />

*Page, ASFixedRect *Location, ASFixed *Border, ASFixed<br />

*Color, char *Title, char *Contents, int Open)<br />

Return Value: CosObj<br />

Concepts <strong>and</strong> Facilities: <strong>Guide</strong> to the DL Pager Composition System<br />

Description<br />

Parameters<br />

Return Value<br />

Creates a text annotation within the specified<br />

page.<br />

• DLPDFPAGE *Page: Represents a page.<br />

This structure is tracked within the package<br />

<strong>and</strong> destroyed when the document is<br />

destroyed. Pointers to this structure remain<br />

valid until the document is destroyed.<br />

• ASFixedRect *Location: The lower-left<br />

corner of where the text annotation is to be<br />

displayed.<br />

• ASFixed *Border: (Optional) an array of<br />

three ASFixed values: Horizontal<br />

Corner Radius, Vertical Corner<br />

Radius <strong>and</strong> Line Width.<br />

• ASFixed *Color: (Optional) an array of<br />

three ASFixed values giving the color as<br />

Red, Green <strong>and</strong> Blue values.<br />

• char *Title: (Optional) displayed in the<br />

title bar of an open text annotation.<br />

• char *Contents: (Required) the displayed<br />

contents of the annotation.<br />

• int Open: A Boolean where TRUE will<br />

cause the annotation to be opened by default,<br />

while FALSE will cause it to be closed by<br />

default.<br />

CosObj<br />

Exceptions<br />

Header<br />

dli.h

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

Saved successfully!

Ooh no, something went wrong!