Debenu Quick PDF logo

DrawRotatedBox

Vector graphics, Page manipulation

Version history

This function was introduced in Quick PDF Library version 8.14.

Description

Draws a rotated rectangle on the selected page.

Syntax

Delphi

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

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::DrawRotatedBox(Left As Double,
  Bottom As Double, Width As Double, Height As Double, Angle As Double,
  DrawOptions As Long) As Long

DLL

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

Parameters

Left The horizontal co-ordinate of the anchor point
Bottom The vertical co-ordinate of the anchor point
Width The width of the rectangle
Height The height of the rectangle
Angle The angle to rotate the rectangle, measured anti-clockwise in degrees from the baseline, around the anchor point (bottom-left of the rectangle)
DrawOptions 0 = Outline
1 = Fill
2 = Fill and Outline

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport