示例#1
0
            public Paginator(BasicPrinting outer, int startingPage, SizeF pageSize, Margins margins, float dpi, bool showProgressDialog)
            {
                this.outer              = outer;
                this.startingPage       = startingPage;
                this.margins            = margins;
                this.dpi                = dpi;
                this.pageSize           = new System.Windows.Size(HundrethsToPoints(pageSize.Width), HundrethsToPoints(pageSize.Height));
                this.showProgressDialog = showProgressDialog;

                pageCount = CountPages();
            }
示例#2
0
            public Paginator(BasicPrinting outer, int startingPage, SizeF pageSize, Margins margins, float dpi, bool showProgressDialog)
            {
                this.outer = outer;
                this.startingPage = startingPage;
                this.margins = margins;
                this.dpi = dpi;
                this.pageSize = new System.Windows.Size(HundrethsToPoints(pageSize.Width), HundrethsToPoints(pageSize.Height));
                this.showProgressDialog = showProgressDialog;

                pageCount = CountPages();
            }