Click here to Skip to main content
15,887,683 members

Comments by Hua Trung (Top 2 by date)

Hua Trung 27-Oct-11 5:07am View    
Dear Mehdi Gholam ! i know to add font with a Paragraph , Pharase, but i dun know how to add font with a IElement - PdfPTable, when i debuged my code, i saw my stream variable,it contain unicode, and when i convert to a PdfPTable (i dun know how to access row value- and my pdf it not contain a UNICODE CHARS , could u help me plz ! :((
Hua Trung 26-Oct-11 23:13pm View    
hi Marc A. Brown and Richard MacCutchan ! it creat a pdf not exception ! my font in pdf is broken at some chars like 'ộ' 'ế' ..etc.. !
in my CODE this line:
Chunk c1 = new Chunk("Báo cáo thống kê thiết bị \n", fonttitle);
it show right format ! and it not broken. i can not add a pdftable (unicode format) to my documentlike this CODE:
for (int k = 0; k < objects.Count; k++)
{
PdfPTable table = new PdfPTable(1);

table.RunDirection = PdfWriter.RUN_DIRECTION_RTL;
var els = (IElement)objects[k];
//i can not add UNICODE when I ADD to DOCUMENT
Doc.Add((IElement)objects[k]);
}

plzzz help me ! thanx for reply !