C# 什么类型的photoshop文档。添加?
我在C#中引用了PhotoShop cs5对象库COM,但我不知道应该使用哪种类型的“document.add()”C# 什么类型的photoshop文档。添加?,c#,photoshop,photoshop-script,C#,Photoshop,Photoshop Script,我在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.mis
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 ?
在此处获取适用于您的Photoshop版本的参考资料: 在CS5的JavaScript参考中 第104页列出了Documents对象的add方法。它还列出了参数及其类型