4 writes to Left
System.Drawing (1)
commonui\System\Drawing\Printing\Margins.cs (1)
148
this.
Left
= (int)Math.Round(value);
System.Windows.Forms (1)
winforms\Managed\System\WinForms\Printing\PageSetupDialog.cs (1)
335
newMargins.
Left
= data.marginLeft;
System.Workflow.ComponentModel (2)
AuthoringOM\Design\WorkflowLayouts.cs (2)
770
PageMargins.
Left
= Convert.ToInt32((float)PageMargins.Left / this.scaling);
847
margins.
Left
= margins.Right;
36 references to Left
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)
247
return margins.
Left
== this.
Left
262
uint left = (uint) this.
Left
;
285
return m1.
Left
== m2.
Left
&& m1.Top == m2.Top && m1.Right == m2.Right && m1.Bottom == m2.Bottom;
310
+ " Left=" +
Left
.ToString(CultureInfo.InvariantCulture)
commonui\System\Drawing\Printing\MarginsConverter.cs (2)
125
args[nArg++] = intConverter.ConvertToString(context, culture, margins.
Left
);
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)
264
Rectangle marginBounds = new Rectangle(pageSettings.Margins.
Left
,
266
pageBounds.Width - (pageSettings.Margins.
Left
+ pageSettings.Margins.Right),
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)
311
return minMargins.
Left
!= 0
383
data.minMarginLeft = margins.
Left
;
391
data.marginLeft = margins.
Left
;
System.Workflow.ComponentModel (18)
AuthoringOM\Design\Dialogs\WorkflowPageSetupDialog.cs (2)
1076
int horizontalMarginsSum = margins.
Left
+ margins.Right;
1214
this.marginsLeftInput.Value = PrinterUnitToUIUnit(margins.
Left
);
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));
770
PageMargins.Left = Convert.ToInt32((float)PageMargins.
Left
/ this.scaling);
781
Size viewablePageSize = new Size(this.pageSize.Width - (PageMargins.
Left
+ PageMargins.Right), this.pageSize.Height - (PageMargins.Top + PageMargins.Bottom));
809
viewablePageLocation.X = pageLocation.X + PageMargins.
Left
;
846
int temp = margins.
Left
;
860
Margins adjustedMargins = new Margins(Math.Max(margins.
Left
, hardMargins.
Left
),
AuthoringOM\Design\WorkflowPrinting.cs (8)
122
Margins margins = new Margins(Math.Max(printPageArg.PageSettings.Margins.
Left
, hardMargins.
Left
),
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);
322
Margins margins = new Margins(Math.Max(printPageArg.PageSettings.Margins.
Left
, hardMargins.
Left
),
326
Size printableArea = new Size(paperSize.Width - (margins.
Left
+ margins.Right), paperSize.Height - (margins.Top + margins.Bottom));