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.35<br />

dlpdfcontentwidetext (DLPDFCONTENT<br />

*Content, DLPDFFONT *Font, char *str, int Length,<br />

PDEGraphicState *gState, PDETextState *tState, ASFixed PS,<br />

ASFixed SW, ASFixed X, ASFixed Y, ASFixed Rotate)<br />

Return Value: void<br />

Description<br />

Parameters<br />

Return Value<br />

Same as dlpdfcontenttext, but permits<br />

Unicode <strong>and</strong> MultiByte text.<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 />

• DLPDFFON *Font<br />

• char *str: A text string<br />

• int Length<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 />

• PDETextState *tState: The current text<br />

state. This may be NULL. A zero-filled<br />

PDETextState parameter is also permitted.<br />

• ASFixed PS: Point Size scale factor along<br />

the Y axis (vertical). 1 = no scaling (2 =<br />

double the original size, 0.5 = ½ the original<br />

size, etc...)<br />

• ASFixed SW: Set Width scale factor along<br />

the X axis (horizontal). 1 = no scaling.<br />

• ASFixed X: X coordinate of the lower left<br />

corner of the bounding box for the text<br />

• ASFixed Y: Y coordinate of the lower left<br />

corner of the bounding box for the text<br />

• ASFixed Rotate: Angle of rotation. 0 = no<br />

rotation.<br />

void<br />

Exceptions

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

Saved successfully!

Ooh no, something went wrong!