Posted on: 2/2/2014 2:00:31 PM | Views : 598

Hi,
I have a field in database that user insert data in it using ckeditor or tinymce.
I want to make pdf from content of this field (in rtl direction).
there's a problem: admin can insert image in editor but in pdf Images go in left not right how can I position them in right or in center.
I think something like this will help me 
foreach (var htmlElement in parsedHtmlElements) { if (htmlElement is PdfImage) { var Image = (PdfImage)htmlElement; ////Image. ???????????????????? how can we set direction of image here? } } because this one works for tables
foreach (var htmlElement in parsedHtmlElements) { if (htmlElement is PdfPTable) { var table = (PdfPTable)htmlElement; table.RunDirection = PdfWriter.RUN_DIRECTION_RTL; foreach (var row in table.Rows) { foreach (var cell in row.GetC ...

Go to the complete details ...