2011-10-14 2 views
2

J'ai référencé la bibliothèque d'objets PhotoShop CS5 en C#, mais je ne sais pas quel type de "ducument.add()" je devrais utiliser!Quel type de photoshop 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 ? 

Répondre