OpenTranslation() 공개 메소드

public OpenTranslation ( string path, Encoding encoding ) : void
path string
encoding System.Text.Encoding
리턴 void
예제 #1
0
        public static void OpenTranslation(string path, Encoding encoding)
        {
            if (document.IsTranslationLoaded)
            {
                CloseTranslation();
            }

            document.OpenTranslation(path, encoding);
            EmitTranslationLoadedEvent();

            /* Reselect, for the widgets to update accordingly */
            Ui.View.Selection.Reselect();
        }