Inesoft
PrintCE SDK .NET |
C# Syntax: object.DrawAlignedText(string lpString, double x, double y, TextHorAlign hor_align, TextVertAlign vert_align);
VB Syntax: object.DrawAlignedText(ByVal lpString As String, ByVal x As Double, ByVal y As Double, ByVal hor_align As TextHorAlign, ByVal vert_align As TextVertAlign);Parameters
lpString
text to be drawn
x
coordinate on X-line
y
coordinate on Y-line
hor_align
horizontal alignment, possible values: hLeft, hRight, hCenter (see TextHorAlign enumerator)
vert_align
vertical alignment, possible values: vTop, vBottom, vCenter (see TextVertAlign enumerator)
Review
Coordinates are set in the current measurement units (please refer to MeasureUnit property) , text colour is determined by TextColor property
© 2009 Inesoft. All rights reserved.