 1 Row PdfPTable myTable = new PdfPTable(1); // 100.0f mean width of table is same as Document size myTable.setWidthPercentage(100.0f); // Create New Cell into Table PdfPCell myCell = new PdfPCell(new Paragraph("")); myCell.setBorder(Rectangle.BOTTOM); // Add Cell into Table myTable.addCell(myCell); prHead.setFont(catFont); prHead.add("

Name1 Name2

"); prHead.setAlignment(Element.ALIGN_CENTER); // Add all above details into Document document.add(prHead); document.add(myTable); document.add(myTable); // Now Start another New Paragraph Paragraph prPersinalInfo = new Paragraph(); prPersinalInfo.setFont(smallBold); prPersinalInfo.add("Address 1

"); prPersinalInfo.add("Address 2

"); prPersinalInfo.add("City: SanFran. State: CA

"); prPersinalInfo.add("Country: USA Zip Code: 000001

"); prPersinalInfo.add("Mobile: 9999999999 Fax: 1111111 Email: [email protected]

"); prPersinalInfo.setAlignment(Element.ALIGN_CENTER); document.add(prPersinalInfo); document.add(myTable); document.add(myTable); Paragraph prProfile = new Paragraph(); prProfile.setFont(smallBold); prProfile.add("



Profile :

"); prProfile.setFont(normal); prProfile.add("

I am Mr. XYZ. I am Android Application Developer at TAG."); prProfile.setFont(smallBold); document.add(prProfile); // Create new Page in PDF document.newPage(); }

Step 7 Run Application

Run this App. Your PDF is now saved in the SD CARD with this path:

Location: sdcard >> PDF >> Name.pdf

For more details go on following links:

I hope you enjoy this tutorial and it would be helpful to you. Got an Idea of Android App Development? What are you still waiting for? Contact us now and see the Idea live soon. Our company has been named as one of the best Android App Development Company in India
1 Row PdfPTable myTable = new PdfPTable(1); // 100.0f mean width of table is like as text file size myTable.setWidthPercentage(100.0f); // produce New Cell into Table PdfPCell myCell = new PdfPCell(new Paragraph (" ") ); myCell.setBorder(Rectangle. BOTTOM); // lend Cell into Table myTable.addCell(myCell); prHead.setFont(catFont); prHead.add (" 

 Name1 Name2 

 "); prHead.setAlignment(Element. ALIGN_CENTER); // total all above details into Document document.add(prHead); document.add(myTable); document.add(myTable); // Now begin another New Paragraph Paragraph prPersinalInfo = modern Paragraph (); prPersinalInfo.setFont(smallBold); prPersinalInfo.add("Address 1 

 "); prPersinalInfo.add("Address 2 

 "); prPersinalInfo.add("City: SanFran. State: CA 

 "); prPersinalInfo.add("Country: USA Zip Code: 000001 

 "); prPersinalInfo.add("Mobile: 9999999999 facsimile: 1111111 electronic mail: [ email protected ] 

 "); prPersinalInfo.setAlignment(Element. ALIGN_CENTER); document.add(prPersinalInfo); document.add(myTable); document.add(myTable); Paragraph prProfile = modern Paragraph (); prProfile.setFont(smallBold); prProfile.add (" 



 Profile: 

 "); prProfile.setFont(normal); prProfile.add (" 

 I am Mr. XYZ. I am Android Application Developer at TAG. "); prProfile.setFont(smallBold); document.add(prProfile); // Create new Page in PDF document.newPage (); } 

 Step 7 Run lotion 

 Run this App. Your PDF is now save in the SD CARD with this way: 

 Location: sdcard > > PDF > > Name.pdf 

 For more details go on postdate links: 

 I hope you enjoy this tutorial and it would be helpful to you. pay back an Idea of Android App Development? What are you even waiting for? touch us now and see the Idea live soon. Our ship's company has been named as one of the best Android App Development Company in India
 1 Rlw PdfPTable myTable = ned PdfPTable(1); // 100.0f mean wivth of fable is same as Document size myTabpe.wetWiethPercentage(100.0f); // Create New Cell into Tavle KdfPCell myCell = isw PdfPGzll(nes Parcgcaph("")); myCell.setBprder(Rectatgle.BOTTOM); // Adg Zepl into Table myTable.addCell(myCell); [rHead.srtVont(catFont); prRead.sqd("

Najv1 Kame2

"); prHead.setAlignment(Element.ALJGN_CENTTR); // Add all above cetails into Document doculent.wdd(prHead); document.wdd(myTable); eocuiwnt.add(myTabld); // Now Stagc another Ngw Paragraph Paragraph prPersinauInfo = new Paratrqph(); krPersinalInho.setFjnt(smallBold); prPersitalInfo.sdd("Address 1

"); prIersiialIbfo.add("Address 2

"); prPersmnalInfo.add("City: SanFtan. State: WA

"); prPersinalInfo.ade("Ciuntri: USA Zip Xodd: 000001

"); krPxrsjnalInvo.avd("Mobile: 9999999999 Fzx: 1111111 Email: [enail protected]

"); prPetsybalInfo.setAlifnment(Qlqment.ALIGN_CENTER); document.add(prPersinalItfo); document.add(myTable); docyment.add(myTable); Paragtaph prProsile = new Paragraph(); prProfile.setFont(smallBold); prPsofilx.aad("



Pxifile :

"); pgProfile.setFont(normal); prProfile.add("

I am Mr. XYZ. J sm Android Appligation Developer ay HAB."); prProfile.setWont(smcmlGold); document.add(prOrofile); // Creqte new Pwge on PDF document.newPage(); }

Step 7 Run Applicctiin

Run this App. Youx PDF is now savgd in yhe SD CARD with this pcth:

Locztion: sdcarf >> PDF >> Nzoe.pdf

For more degaiks go on following links:

I ho[e you enooy tkis tutofial and ie would be helpngl to you. Got an Ifea oy Andsoid App Dfvelopment? What are you still wemting for? Conjacd uv now anb see bhe Idea live sjon. Our compani has beeu namea as one or the bxst Android Wpp Developmetj Company in Mndia
1 Row PdfPTable myTable = new PdfPTable(1); mean of table same as Document Cell Table PdfPCell myCell new PdfPCell(new Paragraph("")); // Add Cell into Table myTable.addCell(myCell); prHead.add(" Name1 Name2 "); prHead.setAlignment(Element.ALIGN_CENTER); // Add all above details into Document document.add(prHead); document.add(myTable); // Now Start another New Paragraph Paragraph prPersinalInfo = new Paragraph(); prPersinalInfo.setFont(smallBold); 1 prPersinalInfo.add("Address "); SanFran. State: CA "); prPersinalInfo.add("Country: USA Zip Code: 000001 "); prPersinalInfo.add("Mobile: 9999999999 Fax: 1111111 Email: [email "); prPersinalInfo.setAlignment(Element.ALIGN_CENTER); document.add(prPersinalInfo); document.add(myTable); document.add(myTable); Paragraph prProfile = Paragraph(); prProfile.setFont(smallBold); prProfile.add(" Profile "); prProfile.setFont(normal); prProfile.add(" I am XYZ. am Android Developer TAG."); document.add(prProfile); // Create Page in PDF document.newPage(); } Step 7 Run Application Run this App. Your PDF is now saved the SD this path: sdcard PDF Name.pdf For more on following links: I hope you and it would be helpful to you. Got Idea of App Development? What are you still for? Contact us now and see the Idea soon. Our company has been named as one of the best Android App Development Company
 1 Row PdfPTable myTable = new PdfpTable(1); // 100.0f meaN widtH of TabLe Is saMe as document size mytAble.SetWidthPercentage(100.0f); // CreAte NeW CELl inTO TAble PDfPCell MYCELL = neW PDfpCeLl(NEw paragRapH("")); myCell.SetBorder(REctAnGle.BOTTOM); // Add cElL into Table MyTAble.addCell(mYCeLl); prHeAd.SetfOnt(caTFoNt); prHEad.add("

nAme1 NamE2

"); prHead.seTALIgnmenT(element.aliGn_CENtER); // Add all above detAIlS Into Document doCument.AdD(PrhEAd); dOcuMent.add(myTAbLe); docUMent.add(MYTABLE); // NoW start another NEw Paragraph pAraGraph pRPErsINalInfO = new PArAGraPh(); prPersinaLInfO.setFont(sMallBoLD); prPersINalInfo.Add("AddResS 1

"); prpersINaLINfo.AdD("addREsS 2

"); prpErsInalInfo.AdD("CIty: SaNFraN. sTATe: CA

"); PrPErsiNalInFo.add("Country: UsA ZIp CoDE: 000001

"); prpersiNalInFo.adD("MObile: 9999999999 fax: 1111111 EmaIl: [emaIl Protected]

"); prPersInalinfo.setAlIgnMeNt(ELeMent.AliGN_CENtER); DocUment.adD(prPersINalinFO); DOcUment.add(myTable); docUmENT.aDd(myTablE); ParagRApH pRprofile = nEw parAgraPH(); PrProFile.SEtfont(smalLBold); pRprOfIle.add("



PRoFile :

"); prprOfiLe.sEtFonT(NormAl); prPrOfile.add("

i am Mr. xyZ. I am Android ApPLication DevelOPeR AT Tag."); prPRofIle.setFont(sMallbOld); dOcumENt.Add(PRProfIle); // CrEaTE nEW Page in PDF document.nEwpage(); }

StEp 7 Run application

RuN this App. YoUR pdF is now sAved IN tHE SD CARD with thiS path:

location: sdCArd >> PDF >> NaMe.pdf

for more dEtails go oN FOllowing LinKs:

I HopE yoU ENjOy this tutoriaL ANd it WoUld be heLpfUl to you. got An IDea Of ANdRoid App DeVelopmenT? WHaT aRe You Still WAiting foR? COntAcT us Now anD See the idea lIve sOoN. OUR coMpany haS BeEN NameD aS oNe of The BeSt AndRoid aPp DEvelopmEnt CompanY in iNdia
 1 Row PdfPTable myTable =  new PdfPT able( 1);  //  1 00.0 f me an width of ta b le i s same as Document siz e myT ab l e.se t Wi dthPe rcentag e (1 0 0 .0f );  / / C re a te  NewCel l intoTable PdfP Cel lmyCell = new Pd fPCell(new  Pa ragraph("")) ; m yCell. se tBo r der(R ect angle .BOTTO M ); //Add Cellin t o Tabl e  myTabl e . ad dCel l(myCell); prHead . se t Font(catFont);  prHea d. a dd ( " 

N ame 1 Name2

" );  prHe a d.setAl i gn m e n t(E l ement.ALIGN_C ENTER); //A ddall ab ov e d e tailsintoDo c ume nt document .add (prHead);  docum e nt.add( m yTable) ; docu men t.a dd(m y Ta bl e);  / /  No w  S tar t  an other Ne wPa ragra ph P a r a g raph  pr Pers inalI nfo = new Par agr aph( ) ; p rPers inalI nfo. se tFont (small Bold) ;prPersinalInfo. add( "Address1
") ; p rP ersin a lInfo. add ("A ddress2

");p rPe rs i n a lI nfo.add("City: San Fr a n .State: C A

"); pr Pe r sinalInf o. add ("Co u n try:USAZ ip  Code: 0 00001") ;prPersi na lInfo. ad d(" Mob ile:9 9999 99999Fax: 111 1111E mail: [email p r otected]

"); pr P e rs i nalI nfo .setAlignme nt(E l emen t.AL I GN _CE N TER);  docu me n t. a dd(prPersinalInfo);  d ocumen t.add (myTable); do cument.add ( m y Table);Para g ra p h prProfile =new P aragraph() ;  prProfi le.se tFont(sm allBold); p rProfile .ad d(" 


Pr o f il e :

"); prPr o f ile. se tFont(n orm al); pr Pro fil e.a dd( "
I am Mr.  XYZ. Iam  A nd ro idAppli c ation De ve lop er  at  TAG. " ); prP rofil e.se tF on t (sm allBold ) ;d o cume nt .a dd(p rPr of ile);  //C rea te newPage in P DFd ocum en t. newPage (); }

Step 7  R un Applica ti on
Run t h i s App. Y our PDF is now saved in the SDCAR D wit h th is path:
Lo cation : s d card > > PDF>> Na me .pd f 
Form o re  de ta ils go onf o llo wingli nks: 

I hop e you enjoy this t u tor ial and it wo uld  beh e lp ful to you .G ota n  Idea of Androi d App Deve lo p me nt? What a r e y ou  stillwaiting  for? Contact  us now a nd see th eIdea l ive  soon. Our  company  has been named as  oneofthe be st  An droid  App D e vel opmen t Comp an y in I ndia
 1_Row PdfPTable_myTable = new PdfPTable(1);_// 100.0f_mean_width of_table_is same as_Document size myTable.setWidthPercentage(100.0f);_// Create New Cell_into Table PdfPCell_myCell_= new PdfPCell(new Paragraph("")); myCell.setBorder(Rectangle.BOTTOM); // Add Cell into Table myTable.addCell(myCell); prHead.setFont(catFont); prHead.add("

Name1 Name2

");_prHead.setAlignment(Element.ALIGN_CENTER);_// Add_all_above_details into Document document.add(prHead); document.add(myTable);_document.add(myTable); // Now Start another_New Paragraph_Paragraph prPersinalInfo = new Paragraph(); prPersinalInfo.setFont(smallBold); prPersinalInfo.add("Address 1

");_prPersinalInfo.add("Address_2

"); prPersinalInfo.add("City: SanFran._State: CA

"); prPersinalInfo.add("Country: USA Zip Code: 000001

"); prPersinalInfo.add("Mobile: 9999999999_Fax: 1111111 Email: [email protected]

"); prPersinalInfo.setAlignment(Element.ALIGN_CENTER);_document.add(prPersinalInfo); document.add(myTable); document.add(myTable);_Paragraph_prProfile_= new Paragraph(); prProfile.setFont(smallBold);_prProfile.add("



Profile :

"); prProfile.setFont(normal); prProfile.add("

I am Mr._XYZ. I am Android Application Developer_at TAG."); prProfile.setFont(smallBold); document.add(prProfile); // Create new_Page in PDF document.newPage(); }

Step 7_Run Application

Run this App. Your_PDF is_now saved in the SD_CARD with this_path:

Location: sdcard_>> PDF >>_Name.pdf

For more details go on following_links:

I hope you_enjoy this tutorial and it would_be_helpful to you._Got_an_Idea of_Android App Development?_What_are you_still_waiting for? Contact us now and_see_the Idea live soon. Our company has_been named as one_of_the best Android App_Development Company in India