how we can set only outer border for pdfptable using c#.net? -


how can set outer border pdfptable using c#.net?

i know pdfcell boarder property want pdfptable full border property.

first can set cell borders 0 , after assigning cell table can use following code for pdfptable outer border.

            pdfpcell cell = new pdfpcell();             cell.addelement(t);             cell.borderwidthbottom=1f;             cell.borderwidthleft=1f;             cell.borderwidthtop=1f;             cell.borderwidthright = 1f;             pdfptable t1 = new pdfptable(1);             t1.addcell(cell); 

here can add table 1 cell , can set border , again add cell table , can use per our requirement.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -