示例#1
0
 private void Init()
 {
     AttachmentPage   = new AttachmentPage();
     AutoSave         = new AutoSave();
     BackgroundPage   = new BackgroundPage();
     CoverPage        = new CoverPage();
     EmailClient      = new EmailClient();
     EmailSmtp        = new EmailSmtp();
     Ftp              = new Ftp();
     Ghostscript      = new Ghostscript();
     JpegSettings     = new JpegSettings();
     PdfSettings      = new PdfSettings();
     PngSettings      = new PngSettings();
     Printing         = new Printing();
     Properties       = new Properties();
     SaveDialog       = new SaveDialog();
     Scripting        = new Scripting();
     Stamping         = new Stamping();
     TiffSettings     = new TiffSettings();
     AuthorTemplate   = "<PrintJobAuthor>";
     FileNameTemplate = "<Title>";
     Guid             = "";
     Name             = "NewProfile";
     OpenViewer       = true;
     OutputFormat     = OutputFormat.Pdf;
     ShowProgress     = true;
     SkipPrintDialog  = false;
     TitleTemplate    = "<PrintJobName>";
     ServerSetting    = new ServerSetting();
 }
示例#2
0
        public ServerSetting Copy()
        {
            var copy = new ServerSetting();

            copy.ApiUrl = ApiUrl;

            return(copy);
        }