23 references to PxToTwipRounded
PresentationFramework (23)
System\Windows\Documents\XamlToRtfWriter.cs (23)
2115_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Width * scaleFactor.Width).ToString(CultureInfo.InvariantCulture)); 2119_rtfBuilder.Append(Converters.PxToTwipRounded(imageNaturalSize.Height * scaleFactor.Height).ToString(CultureInfo.InvariantCulture)); 3051formatState.RowFormat.Trgaph = Converters.PxToTwipRounded(d); 3082cf.Width.Value = Converters.PxToTwipRounded(d); 3185formatState.LI = Converters.PxToTwipRounded(thickness.Left); 3186formatState.RI = Converters.PxToTwipRounded(thickness.Right); 3187formatState.SB = Converters.PxToTwipRounded(thickness.Top); 3188formatState.SA = Converters.PxToTwipRounded(thickness.Bottom); 3201formatState.ParaBorder.Spacing = Converters.PxToTwipRounded(t.Left); 3207cf.PaddingLeft = Converters.PxToTwipRounded(t.Left); 3208cf.PaddingRight = Converters.PxToTwipRounded(t.Right); 3209cf.PaddingTop = Converters.PxToTwipRounded(t.Top); 3210cf.PaddingBottom = Converters.PxToTwipRounded(t.Bottom); 3225pf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left); 3227pf.BorderRight.Width = Converters.PxToTwipRounded(t.Right); 3229pf.BorderTop.Width = Converters.PxToTwipRounded(t.Top); 3231pf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom); 3238cf.BorderLeft.Width = Converters.PxToTwipRounded(t.Left); 3240cf.BorderRight.Width = Converters.PxToTwipRounded(t.Right); 3242cf.BorderTop.Width = Converters.PxToTwipRounded(t.Top); 3244cf.BorderBottom.Width = Converters.PxToTwipRounded(t.Bottom); 3274formatState.FI = Converters.PxToTwipRounded(ti); 3283formatState.SL = Converters.PxToTwipRounded(sl);