How to create envolope Text in C# with ExecuteMenuCommand()
Hello i have a problem in my code
i want to envelope text in c# but it not working add row illuApp.ExecuteMenuCommand("expandStyle");
how to fix it ?? please help me!!!!!
Illustrator.Application illuApp = new Illustrator.Application();
Illustrator.Document illuDoc = illuApp.Documents.Add();
var content = illuDoc.TextFrames.Add();
content.Contents = "Hello";
content.Top = 500;
content.Left = 300;
content.Name = "Text";
content.TextRange.CharacterAttributes.Size = 100;
content.Selected = true;
content.CreateOutline();
illuApp.ExecuteMenuCommand("group");
illuApp.ExecuteMenuCommand("Live Deform Wave");
illuApp.ExecuteMenuCommand("expandStyle");// Not working
