|
program StrokeExample; {$APPTYPE CONSOLE} uses SysUtils, Graphics, Classes, HPDFDoc;
var HPDF: THotPDF;
begin HPDF := THotPDF.Create(nil); try HPDF.AutoLaunch := true; // O arquivo PDF será exibido automaticamente HPDF.FileName := 'Circle.pdf'; HPDF.BeginDoc; // Cria o arquivo PDF HPDF.CurrentPage.Circle( 200, 200, 100 ); // Desenha um círculo HPDF.CurrentPage.Stroke; // and stroke HPDF.EndDoc; // Fecha o arquivo PDF finally HPDF.Free; end; end. |