How change the font family in document word
Infragistics.Documents.Word.
Font fontBleu30 = docWriter.CreateFont();
fontBleu30.Bold = true;
fontBleu30.Size = 30;
fontBleu30.ForeColor = Colors.Blue;
I TRy to change the font family in my font , but it is nor work.
thank you Caisseodev
I HAVE FORGET /
And to change the border of the text
thank Caisseodev
Hello Caisseodev,
To set the Font Family is within the Name property. E.g.:
fontBleu30.Name = "Arial";
As for changing the border can be set in TableProperties.
I have attached a sample.
thank you for this sample. for font family is ok. But for the border color , it is just the border of the text on one line. If is not possible, ok for the table.
But The sample for the table will serve me.
Thank you Caisseodev
I understood. It work fine.
Thank You Caiseodev
To display the border of the text in one line there is a Height property that can be set in TableRowProperties and specifying HeightRule to exact. Also the BorderProperties is contained in each cell.
I have attached an updated sample.