我在 C# 中引用了 PhotoShop cs5 对象库 COM,但我不知道应该使用哪种类型的“document.add()”!
Photoshop.ApplicationClass app = new ApplicationClass();// start ps engine
app.Load(openFileDialog1.FileName); //load image with ps engine
app.Documents.Add([Object.Width == Type.missing],// Anybody knows ?
[Object.Height== Type.missing],//what type of these params?
[Object.Resolution== Type.missing],//type ?
[Object.Name== Type.missing],//type ?
[Object.PixelAspectRatio== Type.missing],//type ?
[Object.Mode== Type.missing],//type ?
[Object.InitialFill== Type.missing],//type ?
[Object.BitsPerChannel== Type.missing],//type ?
[Object.ColorProfileName == Type.missing])//type ?