23 references to PxToTwipRounded
PresentationFramework (23)
System\Windows\Documents\XamlToRtfWriter.cs (23)
2114_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Width * scaleFactor.Width).ToString(CultureInfo.InvariantCulture)); 2118_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Height * scaleFactor.Height).ToString(CultureInfo.InvariantCulture)); 3050formatState.RowFormat.Trgaph = Converters.PxToTwipRounded(d); 3081cf.Width.Value = Converters.PxToTwipRounded(d); 3184formatState.LI = Converters.PxToTwipRounded(thickness.Left); 3185formatState.RI = Converters.PxToTwipRounded(thickness.Right); 3186formatState.SB = Converters.PxToTwipRounded(thickness.Top); 3187formatState.SA = Converters.PxToTwipRounded(thickness.Bottom); 3200formatState.ParaBorder.Spacing = Converters.PxToTwipRounded(t.Left); 3206cf.PaddingLeft = Converters.PxToTwipRounded(t.Left); 3207cf.PaddingRight = Converters.PxToTwipRounded(t.Right); 3208cf.PaddingTop = Converters.PxToTwipRounded(t.Top); 3209cf.PaddingBottom = Converters.PxToTwipRounded(t.Bottom); 3224pf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left); 3226pf.BorderRight.Width = Converters.PxToTwipRounded(t.Right); 3228pf.BorderTop.Width = Converters.PxToTwipRounded(t.Top); 3230pf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom); 3237cf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left); 3239cf.BorderRight.Width = Converters.PxToTwipRounded(t.Right); 3241cf.BorderTop.Width = Converters.PxToTwipRounded(t.Top); 3243cf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom); 3273formatState.FI = Converters.PxToTwipRounded(ti); 3282formatState.SL = Converters.PxToTwipRounded(sl);