private const int MaxHeaderFooterLines = 5; //maximum number of lines in header/footer

        public WorkflowPrintDocument(WorkflowView workflowView)//, IServiceProvider serviceProvider)
        {
            //this.serviceProvider = serviceProvider;
            this.pageSetupData = new PageSetupData();
            this.workflowView = workflowView;
            this.previewLayout = new PrintPreviewLayout(this.workflowView, this);
        }
Пример #2
0
        private const int MaxHeaderFooterLines = 5;             //maximum number of lines in header/footer

        public WorkflowPrintDocument(WorkflowView workflowView) //, IServiceProvider serviceProvider)
        {
            //this.serviceProvider = serviceProvider;
            this.pageSetupData = new PageSetupData();
            this.workflowView  = workflowView;
            this.previewLayout = new PrintPreviewLayout(this.workflowView, this);
        }