|
program FillExample; {$APPTYPE CONSOLE} uses �� SysUtils, Graphics, Classes, HPDFDoc; � var �� HPDF: THotPDF; � begin �� HPDF := THotPDF.Create(nil); �� try ������ HPDF.AutoLaunch := true;������������������������������� // El archivo PDF se mostrará automáticamente ������ HPDF.FileName := 'Ellipse.pdf';����������������������� ������ HPDF.BeginDoc;���������������������������������������������� // Crear el archivo PDF ������ HPDF.CurrentPage.Ellipse( 10, 10, 200, 100 );��� // Draw ellipse ������ HPDF.CurrentPage.Fill;����������������������������� � // y rellenar ������ HPDF.EndDoc;������������������������������������������������� Cierra el archivo PDF �� finally ������ HPDF.Free; �� end; end. |