Hello,
Sorry for the late reply,
Problem is caused by the
tags inside the justified
tag. Aspose treats the line after
tag as the last line and leaves it aligned to left. But the lines before the
tag are justified. I attached the the sample pdf output created via the below code.
Regards
PS: In the first post, I described the problem incorrectly, sorry for this.
Aspose.Words.Document dosyaPdf = new Aspose.Words.Document();
Aspose.Words.DocumentBuilder dosyaPdfPdfBuilder = new Aspose.Words.DocumentBuilder(dosyaPdf);
dosyaPdfPdfBuilder.InsertHtml("body{font-family:Arial;font-size:12px;} .baslik{font-weight:bold;}
Müdürlüğünüzde X XXXX XX XX XXXXX XXX XX XX sicil sayılı dosyada işlem gören ve XXXXX İnş. Taah. San. ve Tic. Ltd. Şti firmasına ihale ederek teslim almış olduğumuz Xxxxx xxxx x scscsc xsxsxdcd df df d frfgrfgrgr rgrgrg
Xxxxxx Xxxxxx Xxxxxx yapım işine dair İlgi (1) . |
");
dosyaPdfPdfBuilder.PageSetup.PaperSize = Aspose.Words.PaperSize.A4;
dosyaPdfPdfBuilder.PageSetup.LeftMargin = Convert.ToDouble(Aspose.Words.ConvertUtil.MillimeterToPoint(20));
dosyaPdfPdfBuilder.PageSetup.RightMargin = Convert.ToDouble(Aspose.Words.ConvertUtil.MillimeterToPoint(20));
dosyaPdfPdfBuilder.PageSetup.LeftMargin = Convert.ToDouble(Aspose.Words.ConvertUtil.MillimeterToPoint(20));
dosyaPdfPdfBuilder.PageSetup.RightMargin = Convert.ToDouble(Aspose.Words.ConvertUtil.MillimeterToPoint(20));
dosyaPdf.Save(@"c:\deneme.pdf", Aspose.Words.SaveFormat.Pdf);