// Create our PDF object pdf := TIEPDFBuilder.Create();
// Add a new page of 595 x 842 (each point is 1/72 of inch, so you are creating a page of 8.26 x 11.69 inches, which is an A4 page) pdf.AddPage(595, 842);
// Add text to current page, at coordinates (0, 100), using Times-Roman at size 36 pdf.AddText( 0, 100, 'Rotated Text', 36, 'Times-Roman');
// Add filled and stroked text, using transparency pdf.AddText( 0, 150, 'Filled and stroked text', 36, 'Helvetica-Bold', 0, clGreen, 0.2, clRed, 0.8, iepdfFillStroke);
// Add a semi-opaque image at size 200, 200 (can also speciy -1 for one size to maintain the aspect ratio) pdf.AddImage(0, 0, 200, 200, ImageEnView1.iebitmap, 0, 0.8);
// Repeat above to add further pages...
// Save and free object pdf.SaveToFile('D:\test.pdf'); pdf.Free();