Create PDF FILE using java and netbeans ide and iText

Veröffentlicht am: 01 Mai 2011
auf dem Kanal: Adil
56,325
176

--------------------------------------------- Myage -----------------------------------------------------------------------
Check my new iphone app Myage age calculate your age:
Myage is the most beautiful iPhone app that calculates your age, and convert it to different time units (years, months, days, hours, minutes and seconds).
available on appstore : https://itunes.apple.com/us/app/myage...
facebook :   / myageapp  
twitter :   / myageapp  
instagram :   / myageapp  
---------------------------------------- Adil BOUGAMZA -------------------------------------------------------------------------
-- you can find me at :
  / rifinio88  
-----------------------------------------------------------------------------------------------------------------------------
Create PDF FILE using java and netbeans ide and iText
this is the code you should copy
/******************************** START CODE *************************************************/
import com.itextpdf.text.Document;
import com.itextpdf.text.Paragraph;
import com.itextpdf.text.pdf.PdfWriter;
import java.io.*;

/**
*
@author Administrateur
*/
public class Main {


public static void main(String arg[])throws Exception
{
Document document=new Document();
PdfWriter.getInstance(document,new FileOutputStream("hello.pdf"));
document.open();
document.add(new Paragraph("Hello world this is my first PDF"));
document.close();
}
}
/************************** END CODE********************************************************/


Happy Coding =)

----- song rights ----
Mario Bava Sleeps In a Little Later Than He Expected To by Chris Zabriskie is licensed under a Creative Commons Attribution license (https://creativecommons.org/licenses/...)
Source: http://chriszabriskie.com/vendaface/
Artist: http://chriszabriskie.com/


Auf dieser Seite können Sie das Online-Video Create PDF FILE using java and netbeans ide and iText mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Adil 01 Mai 2011 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 56,325 Mal angesehen und es wurde von 176 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!