using System; using Microsoft.Office.Interop.Word; using Word = Microsoft.Office.Interop.Word; namespace WordList { class WordList { static void Main(string[] args) { string message = ""; try { Object Nothing = System.Reflection.Missing.Value; o
In order to change the font of the text, you need to supply an attributed string to the LineBreakMeasurer. See e655 混合风格的文本 for an example. public void drawParagraph(Graphics2D g, String paragraph, float width) { LineBreakMeasurer linebreaker = new L