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.

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

dlpdfcontentline (DLPDFCONTENT *Content,<br />

PDEGraphicState *gState, int PaintOp, ASFixed X1, ASFixed<br />

Y1, ASFixed X2, ASFixed Y2)<br />

Return Value: void<br />

Description<br />

Parameters<br />

Return Value<br />

This procedure will mark a line in the content,<br />

extending from (X1,Y1) to (X2,Y2).<br />

• DLPDFCONTENT *Content: Represents the<br />

content element. These structures are<br />

destroyed when associated with a page or<br />

form, <strong>and</strong> pointers to them should not be<br />

used after that time.<br />

• PDEGraphicState *gState: Contains<br />

definitions of colors to be applied, <strong>and</strong> line<br />

sizes <strong>and</strong> parameters to be used when<br />

drawing a path.<br />

• int PaintOp: A composite of flags which<br />

define how the text will be displayed. It is set<br />

by performing a bitwise OR with the desired<br />

combination of the Adobe PDF Library flag<br />

values kPDEFill, kPDEStroke,<br />

kPDEEoFill <strong>and</strong> kPDEInvisible.<br />

• ASFixed X1: Start X-axis coordinate<br />

• ASFixed Y1: Start Y-axis coordinate<br />

• ASFixed X2: End X-axis coordinate<br />

• ASFixed Y2: End Y-axis coordinate<br />

void<br />

Exceptions<br />

Header<br />

dli.h<br />

Related Methods<br />

Availability<br />

All <strong>DLI</strong>-supported platforms.

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

Saved successfully!

Ooh no, something went wrong!