3 writes to scaling
System.Workflow.ComponentModel (3)
AuthoringOM\Design\WorkflowLayouts.cs (3)
736
this.
scaling
= ((float)this.printDocument.PageSetupData.ScaleFactor / 100.0f);
749
this.
scaling
= Math.Min(scaleFactor.X, scaleFactor.Y);
751
this.
scaling
= (float)(Math.Floor((double)this.scaling * 1000.0d) / 1000.0d);
14 references to scaling
System.Workflow.ComponentModel (14)
AuthoringOM\Design\WorkflowLayouts.cs (14)
362
return this.
scaling
;
599
using (Font headerFooterFont = new Font(ambientTheme.Font.FontFamily, ambientTheme.Font.Size / this.
scaling
, ambientTheme.Font.Style))
620
headerFooterData.Scaling = this.
scaling
;
751
this.scaling = (float)(Math.Floor((double)this.
scaling
* 1000.0d) / 1000.0d);
756
this.pageSize.Width = Convert.ToInt32(Math.Ceiling(((float)this.pageSize.Width) / this.
scaling
));
757
this.pageSize.Height = Convert.ToInt32(Math.Ceiling(((float)this.pageSize.Height) / this.
scaling
));
766
PageSeparator = new Size(Convert.ToInt32(Math.Ceiling(((float)PageSeparator.Width) / this.
scaling
)), Convert.ToInt32(Math.Ceiling(((float)PageSeparator.Height) / this.
scaling
)));
770
PageMargins.Left = Convert.ToInt32((float)PageMargins.Left / this.
scaling
);
771
PageMargins.Right = Convert.ToInt32((float)PageMargins.Right / this.
scaling
);
772
PageMargins.Top = Convert.ToInt32((float)PageMargins.Top / this.
scaling
);
773
PageMargins.Bottom = Convert.ToInt32((float)PageMargins.Bottom / this.
scaling
);
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
);