Hi there, while creating a new Word document from scratch I realized that the output file has the language set to United States English on All Paragraphs and Tables. While debugging I saw that the system's current culture is set to pt-PT and that's the one I wanted to be.
What property do I need to change so the entire document defaults to Portuguese?
SBSuriya Balamurugan Syncfusion Team February 2, 2023 04:19 PM UTC
Pedro, from the given
details, we have found that your requirement is to set the proofing language to
text in the Word document. To achieve your requirement, we suggest you to set the
required language (LocaleIDs)
in the LocaleIdASCII
property of the text character format as shown below,
a new Word document.
using (WordDocument document = new WordDocument())
//Add new section to the document.
IWSection section =
//Add new paragraph to the section.
IWParagraph paragraph =
//Add new text to the paragraph.
IWTextRange text = paragraph.AppendText("This is the first text range.