public static ActionLaunch Create(string file) { ActionLaunch launch1 = ActionLaunch.Create(true); launch1.FileSpecification = new FileSpec(Library.CreateString(file)); return(launch1); }
public static ActionLaunch Create(bool indirect, FileSpec file) { ActionLaunch launch1 = ActionLaunch.Create(indirect); launch1.FileSpecification = file; return(launch1); }
public static ActionLaunch Create(bool indirect, string file, WindowsLaunch parms) { ActionLaunch launch1 = ActionLaunch.Create(indirect); launch1.FileSpecification = new FileSpec(Library.CreateString(file)); launch1.WinLaunch = parms; return(launch1); }
public static ActionLaunch Create(string file, WindowsLaunch parms, bool newWindow) { ActionLaunch launch1 = ActionLaunch.Create(true); launch1.FileSpecification = new FileSpec(Library.CreateString(file)); launch1.WinLaunch = parms; launch1.NewWindow = newWindow; return(launch1); }
private static ActionLaunch Create(bool indirect) { PDFDict dict1 = Library.CreateDict(); dict1["S"] = Library.CreateName("Launch"); ActionLaunch launch1 = (Resources.Get(dict1, typeof(ActionLaunch)) as ActionLaunch); if (indirect) { Library.CreateIndirect(dict1); } return(launch1); }