ApiExamples.ExFont.LocaleId C# (CSharp) Метод

LocaleId() приватный Метод

private LocaleId ( ) : void
Результат void
        public void LocaleId()
        {
            Document doc = new Document();

            //ExStart
            //ExFor:Font.LocaleId
            //ExSummary:Shows how to specify the language of a text run so Microsoft Word can use a proper spell checker.
            //Create a run of text that contains Russian text.
            Run run = new Run(doc, "Привет");

            //Specify the locale so Microsoft Word recognizes this text as Russian.
            //For the list of locale identifiers see http://www.microsoft.com/globaldev/reference/lcid-all.mspx
            run.Font.LocaleId = 1049;
            //ExEnd
        }