kss113
Forum Replies Created
-
AuthorPosts
-
Upon further explorations, I think what I want is.
TextWrappingValues tableTextWrapping = TextWrappingValues.Around;but when I try to append this to my table properties:
TableStyle tableStyle = new TableStyle() { Val = "TableGrid" }; TableLook tableLook = new TableLook() { Val = "04A0" }; TextWrappingValues tableTextWrapping = TextWrappingValues.Around; tableProperties.Append(tableTextWrapping);
I get the following error on the append:
cannot convert from ‘DocumentFormat.OpenXml.Wordprocessing.TextWrappingValues’ to ‘System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement>’Thanks again,
KSHello Eric,
With the table border, you are correct if I make the border value larger the border does show, but I am reading these border values from another file that I am using to create this word output.
Also if I open my document, go to the table properties for the row, the boarder is set to 1/2, so if I cancel the properties window then no border, but if I click save then I do see the boarder I can even choose 1/4 border and save it and I can see it.
Any ideas?
Thanks again,
KSSNever Mind, that is what I did, and got it working.
I just set Ascii, HighAnsi, ComplexScript, EastAsia.
Thanks,
KSS- This reply was modified 8 years, 2 months ago by kss113.
Hello Eric,
I am sorry but I don’t follow your solution for the fonts.
so in my c# code after creating the RunProperties object I should have:
RunProperties runProperties = new RunProperties();
runProperties.runFonts.ascii = “Arial”;
runProperties.runFonts.ansi = “Arial”;
runProperties.runFonts.cs = “Arial”;
runProperties.runFonts.eastAsia = “Arial”;Thanks again,
KSS -
AuthorPosts