23 references to PxToTwipRounded
PresentationFramework (23)
System\Windows\Documents\XamlToRtfWriter.cs (23)
2116_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Width * scaleFactor.Width).ToString(CultureInfo.InvariantCulture)); 2120_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Height * scaleFactor.Height).ToString(CultureInfo.InvariantCulture)); 3052formatState.RowFormat.Trgaph = Converters.PxToTwipRounded(d); 3083cf.Width.Value = Converters.PxToTwipRounded(d); 3186formatState.LI = Converters.PxToTwipRounded(thickness.Left); 3187formatState.RI = Converters.PxToTwipRounded(thickness.Right); 3188formatState.SB = Converters.PxToTwipRounded(thickness.Top); 3189formatState.SA = Converters.PxToTwipRounded(thickness.Bottom); 3202formatState.ParaBorder.Spacing = Converters.PxToTwipRounded(t.Left); 3208cf.PaddingLeft = Converters.PxToTwipRounded(t.Left); 3209cf.PaddingRight = Converters.PxToTwipRounded(t.Right); 3210cf.PaddingTop = Converters.PxToTwipRounded(t.Top); 3211cf.PaddingBottom = Converters.PxToTwipRounded(t.Bottom); 3226pf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left); 3228pf.BorderRight.Width = Converters.PxToTwipRounded(t.Right); 3230pf.BorderTop.Width = Converters.PxToTwipRounded(t.Top); 3232pf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom); 3239cf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left); 3241cf.BorderRight.Width = Converters.PxToTwipRounded(t.Right); 3243cf.BorderTop.Width = Converters.PxToTwipRounded(t.Top); 3245cf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom); 3275formatState.FI = Converters.PxToTwipRounded(ti); 3284formatState.SL = Converters.PxToTwipRounded(sl);