AGS.Editor.FontEditor.ImportWFNFont C# (CSharp) Метод

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

private ImportWFNFont ( string fileName, string newTTFName, string newWFNName ) : void
fileName string
newTTFName string
newWFNName string
Результат void
        private void ImportWFNFont(string fileName, string newTTFName, string newWFNName)
        {
            try
            {
                if (File.Exists(newTTFName))
                {
                    Factory.AGSEditor.DeleteFileOnDiskAndSourceControl(newTTFName);
                }
                Factory.NativeProxy.ImportSCIFont(fileName, _item.ID);
                _item.PointSize = 0;
                _item.SourceFilename = Utilities.GetRelativeToProjectPath(fileName);
            }
            catch (AGSEditorException ex)
            {
                Factory.GUIController.ShowMessage("Unable to import the font.\n\n" + ex.Message, MessageBoxIcon.Warning);
            }
        }