1
Answer

How to create a document in Adobe in-design in C# or Java

Lucky Singh

Lucky Singh

5y
2.3k
1
How to make document without opening the application in c# or Java.
 
I am able to create the document but for that, I have instantiated the UI of Adobe in-design
 
Below is the code I tried which is working but for this application need to be instantiated.
 
Type type = Type.GetTypeFromProgID("InDesign.Application.CC.2019", true);
dynamic app = System.Activator.CreateInstance(type,true);
InDesign.idScriptLanguage.idJavascript, new object[] { "" });
Document document = app.open("D:\\ResumeInDesign.indd", false);
Answers (1)