program HelloWorld;

{$APPTYPE CONSOLE}

uses

SysUtils, Graphics, Classes, HPDFDoc;

var

HPDF: THotPDF;

begin

HPDF := THotPDF.Create(nil);

try

HPDF.AutoLaunch := true; // PDF dosyası otomatik olarak gösterilir

HPDF.FileName := 'Circle.pdf';

HPDF.BeginDoc; // PDF dosyası oluştur

HPDF.CurrentPage.Circle( 200, 200, 100 ); // Daire çiz

HPDF.CurrentPage.ClosePathStroke; // ve kontur çiz

HPDF.EndDoc; // PDF dosyasını kapat

finally

HPDF.Free;

end;

end.