Components for Developers
© 2000-2008, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
Text
ShowUnicodeTextAligned

See Also
Collapse All

This method draws wrapped text bounded by a rectangle.

Syntax

HRESULT ShowUnicodeTextAligned (
FLOAT left,
FLOAT top,
FLOAT right,
FLOAT bottom,
TextAlign align,
VerticalAlign verticalAlign,
BSTR text
)
Parameters
left
X coordinate of the top-left corner of the bounding rectangle

top
Y coordinate of the top-left corner of the bounding rectangle

right
X coordinate of the right-bottom corner of the bounding rectangle

bottom
Y coordinate of the right-bottom corner of the bounding rectangle

align
Horizontal alignment

verticalAlign
Vertical alignment

text
Text string to be displayed

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

This procedure draws an unicode text line inside the bounding rectangle with top-left and bottom-right corners, horizontal and vertical justifications specified.

See the ShowTextAligned method for examples.

See Also

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF Add-on History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2008, Two Pilots