Spire.Doc is a professional Word .NET library specifically designed for developers to create, read, write, convert and print Word document files. Get free and professional technical support for Spire.Doc for .NET, Java, Android, C++, Python.

Wed Mar 23, 2016 6:14 pm

//its my code
//thanks to helping me

TextRange tableTr;
tableTr = tableLoanTransactions.Rows[0].Cells[0].AddParagraph().AppendText("تێبینی");
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.Bidi = true;

tableLoanTransactions.Rows[1].Cells[0].AddParagraph().AppendText(queryGetTransactionLoan.NOTE).CharacterFormat.FontName = "unikurd jino";

tableTr = tableLoanTransactions.Rows[0].Cells[5].AddParagraph().AppendText("کۆی گشتی باڵانس");
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.Bidi = true;

tableLoanTransactions.Rows[0].Cells[4].AddParagraph().AppendText(queryGetTransactionLoan.BEFORE_BALANCE.ToString()).CharacterFormat.FontName = "unikurd jino";

tableTr = tableLoanTransactions.Rows[1].Cells[5].AddParagraph().AppendText("بڕی پێ دراو");
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.Bidi = true;

tableTr = tableLoanTransactions.Rows[1].Cells[4].AddParagraph().AppendText(queryGetTransactionLoan.TOTAL_ADD.ToString());
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.TextColor = Color.SeaGreen;

tableTr = tableLoanTransactions.Rows[1].Cells[3].AddParagraph().AppendText(queryGetTransactionLoan.TOTAL_ADD_IQD.ToString());
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.TextColor = Color.SeaGreen;

tableTr = tableLoanTransactions.Rows[2].Cells[3].AddParagraph().AppendText(queryGetTransactionLoan.TOTAL_PAID_IQD.ToString());
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.TextColor = Color.Crimson;

tableTr = tableLoanTransactions.Rows[1].Cells[2].AddParagraph().AppendText("شکێنراوە بە");
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.Bidi = true;

tableLoanTransactions.Rows[1].Cells[1].AddParagraph().AppendText(queryGetTransactionLoan.AMOUNT_USD.ToString()).CharacterFormat.FontName = "unikurd jino";

tableTr=tableLoanTransactions.Rows[2].Cells[5].AddParagraph().AppendText("بڕی لێ وەرگیراو");
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.Bidi = true;

tableTr = tableLoanTransactions.Rows[2].Cells[4].AddParagraph().AppendText(queryGetTransactionLoan.TOTAL_PAID.ToString());
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.TextColor = Color.Crimson;

tableTr = tableLoanTransactions.Rows[2].Cells[2].AddParagraph().AppendText("شکێنراوە بە");
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.Bidi = true;

tableTr = tableLoanTransactions.Rows[3].Cells[5].AddParagraph().AppendText("کۆی گشتی");
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.Bidi = true;

tableLoanTransactions.Rows[3].Cells[4].AddParagraph().AppendText(queryGetTransactionLoan.AFTER_BALANCE.ToString()).CharacterFormat.FontName = "unikurd jino";

tableTr = tableLoanTransactions.Rows[3].Cells[3].AddParagraph().AppendText("بەروار");
tableTr.CharacterFormat.FontName = "unikurd jino";
tableTr.CharacterFormat.Bidi = true;

tableLoanTransactions.Rows[3].Cells[1].AddParagraph().AppendText(queryGetTransactionLoan.SYS_DATE.ToString("dd/MM/yyyy")).CharacterFormat.FontName = "unikurd jino";

Dyare
 
Posts: 5
Joined: Wed Mar 23, 2016 12:17 am

Thu Mar 24, 2016 2:30 am

Hi,

Thanks for your inquiry.
Please try the following solution.
Code: Select all
          Paragraph paragraph;
            TextRange tableTr;
            paragraph = tableLoanTransactions.Rows[0].Cells[0].AddParagraph();
            paragraph.Format.HorizontalAlignment = HorizontalAlignment.Right;
            tableTr = paragraph.AppendText("تێبینی");
            tableTr.CharacterFormat.FontName = "unikurd jino";
            tableTr.CharacterFormat.Bidi = true;


Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2767
Joined: Wed Jun 27, 2012 8:50 am

Mon Mar 28, 2016 8:22 am

Hi,

Has your issue been resolved?
Thanks for your feedback in advance.

Best Regards,
Amy
E-iceblue support team
User avatar

amy.zhao
 
Posts: 2767
Joined: Wed Jun 27, 2012 8:50 am

Return to Spire.Doc