5 writes to Top
System.Drawing (1)
commonui\System\Drawing\Printing\Margins.cs (1)
180
this.
Top
= (int)Math.Round(value);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (1)
336
newMargins.
Top
= data.marginTop;
System.Workflow.ComponentModel (3)
AuthoringOM\Design\WorkflowLayouts.cs (3)
772
PageMargins.
Top
= Convert.ToInt32((float)PageMargins.Top / this.scaling);
776
this.headerFooterMargins.
Top
= Convert.ToInt32((float)this.printDocument.PageSetupData.HeaderMargin / this.scaling);
852
margins.
Top
= temp;
37 references to Top
System.Drawing (15)
commonui\System\Drawing\Printing\DefaultPrintController.cs (1)
133
graphics.TranslateTransform(document.DefaultPageSettings.Margins.Left, document.DefaultPageSettings.Margins.
Top
);
commonui\System\Drawing\Printing\Margins.cs (6)
249
&& margins.
Top
== this.
Top
264
uint top = (uint) this.
Top
;
285
return m1.Left == m2.Left && m1.
Top
== m2.
Top
&& m1.Right == m2.Right && m1.Bottom == m2.Bottom;
312
+ " Top=" +
Top
.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Printing\MarginsConverter.cs (2)
127
args[nArg++] = intConverter.ConvertToString(context, culture, margins.
Top
);
140
margins.Left, margins.Right, margins.
Top
, margins.Bottom});
commonui\System\Drawing\Printing\PreviewPrintController.cs (1)
142
graphics.TranslateTransform(document.DefaultPageSettings.Margins.Left, document.DefaultPageSettings.Margins.
Top
);
commonui\System\Drawing\Printing\PrintController.cs (2)
265
pageSettings.Margins.
Top
,
267
pageBounds.Height - (pageSettings.Margins.
Top
+ pageSettings.Margins.Bottom));
commonui\System\Drawing\Printing\PrinterSettings.cs (2)
734
g.TranslateTransform(defaultPageSettings.Margins.Left, defaultPageSettings.Margins.
Top
);
766
g.TranslateTransform(pageSettings.Margins.Left, pageSettings.Margins.
Top
);
commonui\System\Drawing\Printing\PrintPreviewGraphics.cs (1)
63
graphics.TranslateTransform(printDocument.DefaultPageSettings.Margins.Left, printDocument.DefaultPageSettings.Margins.
Top
);
System.Windows.Forms (3)
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (3)
313
|| minMargins.
Top
!= 0
384
data.minMarginTop = margins.
Top
;
392
data.marginTop = margins.
Top
;
System.Workflow.ComponentModel (19)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (2)
1077
int verticalMarginsSum = margins.
Top
+ margins.Bottom;
1216
this.marginsTopInput.Value = PrinterUnitToUIUnit(margins.
Top
);
AuthoringOM\Design\WorkflowLayouts.cs (8)
383
Size printableAreaPerPage = new Size(this.pageSize.Width - (PageMargins.Left + PageMargins.Right), this.pageSize.Height - (PageMargins.
Top
+ PageMargins.Bottom));
740
Size printableArea = new Size(paperSize.Width - (margins.Left + margins.Right), paperSize.Height - (margins.
Top
+ margins.Bottom));
772
PageMargins.Top = Convert.ToInt32((float)PageMargins.
Top
/ this.scaling);
781
Size viewablePageSize = new Size(this.pageSize.Width - (PageMargins.Left + PageMargins.Right), this.pageSize.Height - (PageMargins.
Top
+ PageMargins.Bottom));
810
viewablePageLocation.Y = pageLocation.Y + PageMargins.
Top
;
851
margins.Bottom = margins.
Top
;
862
Math.Max(margins.
Top
, hardMargins.
Top
),
AuthoringOM\Design\WorkflowPrinting.cs (9)
124
Math.Max(printPageArg.PageSettings.Margins.
Top
, hardMargins.
Top
),
126
Size printableArea = new Size(printPageArg.PageBounds.Size.Width - (margins.Left + margins.Right), printPageArg.PageBounds.Size.Height - (margins.
Top
+ margins.Bottom));
127
Rectangle boundingRectangle = new Rectangle(margins.Left, margins.
Top
, printableArea.Width, printableArea.Height);
132
graphics.TranslateTransform(-hardMargins.Left, -hardMargins.
Top
);
293
layoutRectangle.Y = headerFooterPrintData.PageBounds.Top + headerFooterPrintData.HeaderFooterMargins.
Top
;
324
Math.Max(printPageArg.PageSettings.Margins.
Top
, hardMargins.
Top
),
326
Size printableArea = new Size(paperSize.Width - (margins.Left + margins.Right), paperSize.Height - (margins.
Top
+ margins.Bottom));