Exemplo n.º 1
0
        public WorkSpaceViewModel(WorkspaceControl workspaceControl)
        {
            _view = workspaceControl;
            //default to whatever the printer's default is
            PrinterSettings printer = new System.Drawing.Printing.PrinterSettings();

            PaperTarget = new PaperTarget(printer.DefaultPageSettings.PaperSize.PaperName, printer.DefaultPageSettings.PaperSize);
        }