2
我在使用openxml時遇到了字符變音問題。字符串中的每個字符都在Arial中,但是Ä在Calibri中。我真的不知道爲什麼。c#a帶變音符錯誤字體openxml
有人可以幫助我嗎?
這是我的代碼:
DocumentFormat.OpenXml.Wordprocessing.Run run = new DocumentFormat.OpenXml.Wordprocessing.Run();
RunProperties runProp = new RunProperties(); // Create run properties.
RunFonts runFont = new RunFonts(); // Create font
runFont.Ascii = "Arial"; // Specify font family
runProp.Append(runFont);
run.Append(runProp);
run.Append(new Text("Kapazität"));
太棒了!非常感謝你。 –