1 write to printDocument
System.Workflow.ComponentModel (1)
AuthoringOM\Design\WorkflowLayouts.cs (1)
353
this.
printDocument
= printDoc;
19 references to printDocument
System.Workflow.ComponentModel (19)
AuthoringOM\Design\WorkflowLayouts.cs (19)
388
if (this.
printDocument
.PageSetupData.CenterHorizontally)
392
if (this.
printDocument
.PageSetupData.CenterVertically)
698
if (this.
printDocument
.PageSetupData.HeaderTemplate.Length > 0)
699
this.
printDocument
.PrintHeaderFooter(graphics, true, headerFooterData);
702
if (this.
printDocument
.PageSetupData.FooterTemplate.Length > 0)
703
this.
printDocument
.PrintHeaderFooter(graphics, false, headerFooterData);
734
if (this.
printDocument
.PageSetupData.AdjustToScaleFactor)
736
this.scaling = ((float)this.
printDocument
.PageSetupData.ScaleFactor / 100.0f);
745
((float)this.
printDocument
.PageSetupData.PagesWide * (float)printableArea.Width / (float)rootDesignerSize.Width),
746
((float)this.
printDocument
.PageSetupData.PagesTall * (float)printableArea.Height / (float)rootDesignerSize.Height));
776
this.headerFooterMargins.Top = Convert.ToInt32((float)this.
printDocument
.PageSetupData.HeaderMargin / this.scaling);
777
this.headerFooterMargins.Bottom = Convert.ToInt32((float)this.
printDocument
.PageSetupData.FooterMargin / this.scaling);
825
PaperSize paperSize = this.
printDocument
.DefaultPageSettings.PaperSize;
826
this.
printDocument
.DefaultPageSettings.PaperSize = paperSize;
827
if (this.
printDocument
.PageSetupData.Landscape)
843
Margins margins = this.
printDocument
.PageSetupData.Margins;
844
if (this.
printDocument
.PageSetupData.Landscape)
857
using (Graphics printerGraphics = this.
printDocument
.PrinterSettings.CreateMeasurementGraphics())
858
hardMargins = this.
printDocument
.GetHardMargins(printerGraphics);