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));
3052
formatState.RowFormat.Trgaph = Converters.
PxToTwipRounded
(d);
3083
cf.Width.Value = Converters.
PxToTwipRounded
(d);
3186
formatState.LI = Converters.
PxToTwipRounded
(thickness.Left);
3187
formatState.RI = Converters.
PxToTwipRounded
(thickness.Right);
3188
formatState.SB = Converters.
PxToTwipRounded
(thickness.Top);
3189
formatState.SA = Converters.
PxToTwipRounded
(thickness.Bottom);
3202
formatState.ParaBorder.Spacing = Converters.
PxToTwipRounded
(t.Left);
3208
cf.PaddingLeft = Converters.
PxToTwipRounded
(t.Left);
3209
cf.PaddingRight = Converters.
PxToTwipRounded
(t.Right);
3210
cf.PaddingTop = Converters.
PxToTwipRounded
(t.Top);
3211
cf.PaddingBottom = Converters.
PxToTwipRounded
(t.Bottom);
3226
pf.BorderLeft.Width = Converters.
PxToTwipRounded
(t.Left);
3228
pf.BorderRight.Width = Converters.
PxToTwipRounded
(t.Right);
3230
pf.BorderTop.Width = Converters.
PxToTwipRounded
(t.Top);
3232
pf.BorderBottom.Width = Converters.
PxToTwipRounded
(t.Bottom);
3239
cf.BorderLeft.Width = Converters.
PxToTwipRounded
(t.Left);
3241
cf.BorderRight.Width = Converters.
PxToTwipRounded
(t.Right);
3243
cf.BorderTop.Width = Converters.
PxToTwipRounded
(t.Top);
3245
cf.BorderBottom.Width = Converters.
PxToTwipRounded
(t.Bottom);
3275
formatState.FI = Converters.
PxToTwipRounded
(ti);
3284
formatState.SL = Converters.
PxToTwipRounded
(sl);