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.
Graphics
Collapse All

This method creates a rectangular path.

Syntax

HRESULT DrawRectangle (
FLOAT left,
FLOAT top,
FLOAT width,
FLOAT height,
FLOAT rotateAngle
)
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

width
Width of the rectangle

height
Height of the rectangle

rotateAngle
Angle of rotation (indegrees)

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

Remarks

This method draws a rectangle with top-left corner at (left, top) and bottom-right corner at (right, bottom) and rotates it at the angle specified.

See theĀ ResetPath 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