PDF Creator Pilot documentation |
Download CHM version of this manual. |
|
![]() ![]() Collapse AllThis method creates a rectangular path.
|
| 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
Reference


