|
program FillExample; {$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 := 'Ellipse.pdf';����������������������� ������ HPDF.BeginDoc;���������������������������������������������� // Cria o arquivo PDF ������ HPDF.CurrentPage.Ellipse( 10, 10, 200, 100 );��� // Draw ellipse ������ HPDF.CurrentPage.Fill;����������������������������� // e preenche ������ HPDF.EndDoc;������������������������������������������������� // Fecha o arquivo PDF �� finally ������ HPDF.Free; �� end; end. |