54 references to PageSetupData
System.Workflow.ComponentModel (54)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (41)
119
this.adjustToScaleInput.Value = this.printDocument.
PageSetupData
.ScaleFactor;
120
this.fitToPagesWideInput.Value = this.printDocument.
PageSetupData
.PagesWide;
121
this.fitToPagesTallInput.Value = this.printDocument.
PageSetupData
.PagesTall;
124
if (this.printDocument.
PageSetupData
.AdjustToScaleFactor)
130
if (this.printDocument.
PageSetupData
.Landscape)
136
SetMarginsToUI(this.printDocument.
PageSetupData
.Margins);
139
this.CenterHorizontallyCheckBox.Checked = this.printDocument.
PageSetupData
.CenterHorizontally;
140
this.CenterVerticallyCheckBox.Checked = this.printDocument.
PageSetupData
.CenterVertically;
166
string userHeader = this.printDocument.
PageSetupData
.HeaderTemplate;
167
this.headerCustom = this.printDocument.
PageSetupData
.HeaderCustom;
189
if (this.headerAlignmentComboBox.Items.IndexOf(this.printDocument.
PageSetupData
.HeaderAlignment) != -1)
190
this.headerAlignmentComboBox.SelectedItem = this.printDocument.
PageSetupData
.HeaderAlignment;
194
this.headerMarginInput.Value = PrinterUnitToUIUnit(this.printDocument.
PageSetupData
.HeaderMargin);
202
string userFooter = this.printDocument.
PageSetupData
.FooterTemplate;
203
this.footerCustom = this.printDocument.
PageSetupData
.FooterCustom;
225
if (this.footerAlignmentComboBox.Items.IndexOf(this.printDocument.
PageSetupData
.FooterAlignment) != -1)
226
this.footerAlignmentComboBox.SelectedItem = this.printDocument.
PageSetupData
.FooterAlignment;
230
this.footerMarginInput.Value = PrinterUnitToUIUnit(this.printDocument.
PageSetupData
.FooterMargin);
964
this.printDocument.
PageSetupData
.AdjustToScaleFactor = this.adjustToRadioButton.Checked;
966
this.printDocument.
PageSetupData
.ScaleFactor = (int)this.adjustToScaleInput.Value;
967
this.printDocument.
PageSetupData
.PagesWide = (int)this.fitToPagesWideInput.Value;
968
this.printDocument.
PageSetupData
.PagesTall = (int)this.fitToPagesTallInput.Value;
971
this.printDocument.
PageSetupData
.Landscape = this.landscapeRadioButton.Checked;
972
this.printDocument.
PageSetupData
.Margins = margins;
975
this.printDocument.
PageSetupData
.CenterHorizontally = this.CenterHorizontallyCheckBox.Checked;
976
this.printDocument.
PageSetupData
.CenterVertically = this.CenterVerticallyCheckBox.Checked;
980
this.printDocument.
PageSetupData
.HeaderTemplate = string.Empty;
983
this.printDocument.
PageSetupData
.HeaderTemplate = this.headerTextComboBox.Text;
985
this.printDocument.
PageSetupData
.HeaderTemplate = this.customHeaderText.Text;
986
this.printDocument.
PageSetupData
.HeaderCustom = this.headerCustom;
987
this.printDocument.
PageSetupData
.HeaderAlignment = (HorizontalAlignment)this.headerAlignmentComboBox.SelectedItem;
988
this.printDocument.
PageSetupData
.HeaderMargin = UIUnitToPrinterUnit(this.headerMarginInput.Value);
992
this.printDocument.
PageSetupData
.FooterTemplate = string.Empty;
995
this.printDocument.
PageSetupData
.FooterTemplate = this.footerTextComboBox.Text;
997
this.printDocument.
PageSetupData
.FooterTemplate = this.customFooterText.Text;
998
this.printDocument.
PageSetupData
.FooterCustom = this.footerCustom;
999
this.printDocument.
PageSetupData
.FooterAlignment = (HorizontalAlignment)this.footerAlignmentComboBox.SelectedItem;
1000
this.printDocument.
PageSetupData
.FooterMargin = UIUnitToPrinterUnit(this.footerMarginInput.Value);
1012
this.printDocument.DefaultPageSettings.Landscape = this.printDocument.
PageSetupData
.Landscape;
1018
this.printDocument.PrinterSettings.DefaultPageSettings.Landscape = this.printDocument.
PageSetupData
.Landscape;
1022
this.printDocument.
PageSetupData
.StorePropertiesToRegistry();
AuthoringOM\Design\WorkflowLayouts.cs (13)
388
if (this.printDocument.
PageSetupData
.CenterHorizontally)
392
if (this.printDocument.
PageSetupData
.CenterVertically)
698
if (this.printDocument.
PageSetupData
.HeaderTemplate.Length > 0)
702
if (this.printDocument.
PageSetupData
.FooterTemplate.Length > 0)
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);
827
if (this.printDocument.
PageSetupData
.Landscape)
843
Margins margins = this.printDocument.
PageSetupData
.Margins;
844
if (this.printDocument.
PageSetupData
.Landscape)