Inesoft PrintCE SDK EVC++
prnDrawAlignedText

The function draws a text horizontally and vertically aligned.

void prnDrawAlignedText(
    LPCTSTR
lpString,
    double
x,
    double
y,
    TextHorAlign
hor_align,
    TextVertAlign
vert_align
);

Parameters

lpszString

Pointer to the string to draw. If nCount is –1, the string must be null-terminated.

x,y

x - coordinate on X-line. y - coordinate on Y-line

hor_align

horizontal alignment, possible values: hLeft, hRight, hCenter

vert_align

vertical alignment, possible values: vTop, vBottom, vCenter

Remarks

Coordinates are set in the current measurement units (please refer to prnSetMeasureUnit), text colour is determined by the previous setting prnSetTextColor

See Also

prnDrawText

 


© 2009 Inesoft. All rights reserved.