|
program FillExample; {$APPTYPE CONSOLE} uses �� SysUtils, Graphics, Classes, HPDFDoc; �?/p> var �� HPDF: THotPDF; �?/p> begin �� HPDF := THotPDF.Create(nil); �� try ������ HPDF.AutoLaunch := true;�������������������������������?// PDF file will be shown automatically ������ HPDF.FileName := 'Ellipse.pdf';�����������������������?/p> ������ 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. |