program FillExample;

{$APPTYPE CONSOLE}

uses

�� SysUtils, Graphics, Classes, HPDFDoc;

var

�� HPDF: THotPDF;

begin

�� HPDF := THotPDF.Create(nil);

�� try

������ HPDF.AutoLaunch := true;������������������������������� // PDF file will be shown automatically

������ HPDF.FileName := 'Ellipse.pdf';�����������������������

������ HPDF.BeginDoc;���������������������������������������������� // Create PDF file

������ HPDF.CurrentPage.Ellipse( 10, 10, 200, 100 );��� // Draw ellipse

������ HPDF.CurrentPage.Fill;����������������������������� � // and fill

������ HPDF.EndDoc;������������������������������������������������� // Close PDF file

�� finally

������ HPDF.Free;

�� end;

end.