private Read ( Stream stream, |
||
stream | Stream | |
resolver | ||
uri | ||
return | void |
public static PsdDocument Create(Stream stream, PsdResolver resolver) { PsdDocument document = new PsdDocument(); document.Read(stream, resolver, new Uri(Directory.GetCurrentDirectory())); return(document); }
public static PsdDocument Create(string filename, PsdResolver resolver) { PsdDocument document = new PsdDocument(); FileInfo fileInfo = new FileInfo(filename); FileStream stream = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read, FileShare.Read); document.Read(stream, resolver, new Uri(fileInfo.DirectoryName)); return document; }
public static PsdDocument Create(Stream stream, PsdResolver resolver) { PsdDocument document = new PsdDocument(); document.Read(stream, resolver, new Uri(Directory.GetCurrentDirectory())); return document; }
public static PsdDocument Create(string filename, PsdResolver resolver) { PsdDocument document = new PsdDocument(); FileInfo fileInfo = new FileInfo(filename); FileStream stream = new FileStream(fileInfo.FullName, FileMode.Open, FileAccess.Read, FileShare.Read); document.Read(stream, resolver, new Uri(fileInfo.DirectoryName)); return document; }