0
Я доступ к файлу ай из приложения WPF, и она работает, и добавляет текст просто отличноКак изменить имя шрифта из TextFrame в Adobe Illustrator?
мне нужно изменить шрифт, но я coudln't найти интуитивный способ сделать это и не находить ресурсы, чтобы помочь мне
любые направления приветствуются:
Illustrator.Application app = new Illustrator.Application();
//Illustrator.Document doc = app.Documents.Add(Illustrator.AiDocumentColorSpace.aiDocumentCMYKColor, 400, 240);
Illustrator.Document doc=app.Open(@"C:\folder\illu_1.ai");
Illustrator.Layer layer1 = doc.Layers.Add();
layer1.Name = "1";
Illustrator.TextFrame textFrame = layer1.TextFrames.Add();
object[] position = new object[2] { 0, 300 };
textFrame.Position = position;
textFrame.Contents = "Some text";
textFrame.Height = 100;
textFrame.Width = doc.Width;
textFrame.CreateOutline();