Debenu Quick PDF logo

DrawBox

Vector graphics, Page manipulation

Description

Draw a rectangle on the selected page.

Syntax

Delphi

function TDebenuPDFLibrary1811.DrawBox(Left, Top, Width, Height: Double; 
  DrawOptions: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1811.PDFLibrary::DrawBox(Left As Double, Top As Double,
  Width As Double, Height As Double, DrawOptions As Long) As Long

DLL

int DPLDrawBox(int InstanceID, double Left, double Top, double Width, double Height,
  int DrawOptions)

Parameters

Left Horizontal co-ordinate of left edge of rectangle
Top Vertical co-ordinate of top edge of rectangle
Width Rectangle width
Height Rectangle height
DrawOptions 0 = Outline
1 = Fill
2 = Fill and Outline

Copyright © 2020 Debenu. All rights reserved. AboutContactBlogNewsletterSupport