Declaration
procedure Rotate(Angle: double);
Description
Perform a world translation to rotate the canvas content.
Angle is specified in degrees.
Note: Use
ResetTransform to reset the transformation
GDI+ Method:
GdipRotateWorldTransform
// Use Translate and Rotate to move and rotate the text output
// Note: Example only. It is easier just to use the DrawText overrides to do this
With IECanvas do
begin
Translate( 100, 100 );
Rotate( -45 );
DrawText( 'This is a test', 0, 0 );
ResetTransform();
end;