|
program PieExample; {$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 := 'Curve.pdf'; HPDF.BeginDoc; // PDF dosyası oluştur HPDF.CurrentPage.DrawPie(10, 10, 110, 110, 50, 10, 10, 50 ); // Draw Pie HPDF.CurrentPage.Fill; // Stroke curve HPDF.EndDoc; // PDF dosyasını kapat finally HPDF.Free; end; end. |