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