什么类型的photoshop文档
本文关键字:文档 photoshop 类型 什么 | 更新日期: 2023-09-27 18:11:10
我在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 ?
在这里获取相应版本的Photoshop参考:http://www.adobe.com/devnet/photoshop/scripting.html
在CS5的JavaScript参考中http://wwwimages.adobe.com/www.adobe.com/content/dam/Adobe/en/devnet/photoshop/pdfs/photoshop_cs5_javascript_ref.pdfPg 104列出了Documents对象的add方法。它还列出了参数及其类型。