program StrokeExample;

{$APPTYPE CONSOLE}

uses

SysUtils, Graphics, Classes, HPDFDoc;

 

var

HPDF: THotPDF;

 

begin

HPDF := THotPDF.Create(nil);

try

HPDF.AutoLaunch := true;                                // فایل PDF به طور خودکار نشان داده خواهد شد

HPDF.FileName := 'Circle.pdf';

HPDF.BeginDoc;                                               // ایجاد فایل PDF

HPDF.CurrentPage.Circle( 200, 200, 100 );         // ترسیم دایره

HPDF.CurrentPage.Stroke;                                // and stroke

HPDF.EndDoc;                                                  // بستن فایل PDF

finally

HPDF.Free;

end;

end.