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));
3051
formatState.RowFormat.Trgaph = Converters.
PxToTwipRounded
(d);
3082
cf.Width.Value = Converters.
PxToTwipRounded
(d);
3185
formatState.LI = Converters.
PxToTwipRounded
(thickness.Left);
3186
formatState.RI = Converters.
PxToTwipRounded
(thickness.Right);
3187
formatState.SB = Converters.
PxToTwipRounded
(thickness.Top);
3188
formatState.SA = Converters.
PxToTwipRounded
(thickness.Bottom);
3201
formatState.ParaBorder.Spacing = Converters.
PxToTwipRounded
(t.Left);
3207
cf.PaddingLeft = Converters.
PxToTwipRounded
(t.Left);
3208
cf.PaddingRight = Converters.
PxToTwipRounded
(t.Right);
3209
cf.PaddingTop = Converters.
PxToTwipRounded
(t.Top);
3210
cf.PaddingBottom = Converters.
PxToTwipRounded
(t.Bottom);
3225
pf.BorderLeft.Width = Converters.
PxToTwipRounded
(t.Left);
3227
pf.BorderRight.Width = Converters.
PxToTwipRounded
(t.Right);
3229
pf.BorderTop.Width = Converters.
PxToTwipRounded
(t.Top);
3231
pf.BorderBottom.Width = Converters.
PxToTwipRounded
(t.Bottom);
3238
cf.BorderLeft.Width = Converters.
PxToTwipRounded
(t.Left);
3240
cf.BorderRight.Width = Converters.
PxToTwipRounded
(t.Right);
3242
cf.BorderTop.Width = Converters.
PxToTwipRounded
(t.Top);
3244
cf.BorderBottom.Width = Converters.
PxToTwipRounded
(t.Bottom);
3274
formatState.FI = Converters.
PxToTwipRounded
(ti);
3283
formatState.SL = Converters.
PxToTwipRounded
(sl);