DrawRotatedBox

Vector graphics, Page manipulation

Description

Draws a rotated rectangle on the selected page.

Syntax

Delphi

function TPDFlib.DrawRotatedBox(Left, Bottom, Width, Height, Angle: Double; DrawOptions: Integer): Integer;

ActiveX

Function PDFlib::DrawRotatedBox(Left As Double, Bottom As Double, Width As Double, Height As Double, Angle As Double, DrawOptions As Long) As Long

DLL

int DLDrawRotatedBox(int InstanceID, double Left, double Bottom, double Width, double Height, double Angle, int DrawOptions);

Parameters

LeftThe horizontal co-ordinate of the anchor point
BottomThe vertical co-ordinate of the anchor point
WidthThe width of the rectangle
HeightThe height of the rectangle
AngleThe angle to rotate the rectangle, measured anti-clockwise in degrees from the baseline, around the anchor point (bottom-left of the rectangle)
DrawOptions0 = Outline 1 = Fill 2 = Fill and Outline