Components for Developers
© 2000-2012, Two Pilots

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

PDF Creator Pilot documentation

Download CHM version of this manual.
PM_CANVAS_ShowTextLines

Collapse All

Draws wrapped text bounded by a rectangle.

Syntax

int PM_CANVAS_ShowTextLines (
PM_CANVAS canvas,
float left,
float top,
float right,
float bottom,
float interval,
PM_TEXT_HORIZONTAL_ALIGN align,
PM_TEXT_VERTICAL_ALIGN verticalAlign,
PM_STRING text
)
Parameters
canvas
Handle to the canvas.

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 bottom-right corner of the bounding rectangle.

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

interval
Space between text lines when wrapped.

align
Horizontal alignment.

verticalAlign
Vertical alignment.

text
Text string to be displayed.

Return value
The number of text lines.

PDF Library Download Features Manual Tutorials FAQ Pricing HTML2PDF-X Pilot History In the Lab

 

 

PDF Library | Virtual Printer | Converters to PDF

Support | Blog | Forum | Contacts

© 2000-2012, Two Pilots