37 references to Size
PresentationCore (2)
System\Windows\Documents\DocumentPage.cs (2)
120
return new Rect(this.
Size
);
135
return new Rect(this.
Size
);
PresentationFramework (32)
MS\Internal\Documents\DocumentGridPage.cs (3)
241
if (DocumentPage.
Size
!= Size.Empty && DocumentPage.
Size
.Width != 0.0)
243
_documentPageView.SetPageZoom(availableSize.Width / DocumentPage.
Size
.Width);
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
371
transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, flowDocumentPage.
Size
.Width, 0.0);
MS\Internal\Documents\FlowDocumentView.cs (5)
82
desiredSize.Width = Math.Min(constraint.Width, _formatter.DocumentPage.
Size
.Width);
83
desiredSize.Height = Math.Min(constraint.Height, _formatter.DocumentPage.
Size
.Height);
87
desiredSize = _formatter.DocumentPage.
Size
;
124
if (!DoubleUtil.AreClose(_scrollData.Extent, _formatter.DocumentPage.
Size
))
126
_scrollData.Extent = _formatter.DocumentPage.
Size
;
MS\Internal\Documents\PageCache.cs (2)
607
if (args.DocumentPage.
Size
== Size.Empty)
614
newEntry.PageSize = args.DocumentPage.
Size
;
MS\Internal\Documents\TextDocumentView.cs (5)
3291
MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
3309
MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
3335
transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
3353
MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
3371
MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.
Size
.Width, 0.0);
MS\Internal\LayoutDump.cs (1)
303
DumpSize(writer, "Size", page.
Size
);
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
770
return new Rect(this.
Size
);
870
PtsHelper.UpdateMirroringTransform(FlowDirection.LeftToRight, flowdirection, pageVisual,
Size
.Width);
MS\Internal\PtsHost\StructuralCache.cs (1)
654
internal Size DocumentPageSize { get { return _owner._currentPage.
Size
; } }
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
293
Size tempSize = page.
Size
;
System\Windows\Controls\Primitives\DocumentPageView.cs (6)
325
pageSize = new Size(_documentPage.
Size
.Width * _pageZoom, _documentPage.
Size
.Height * _pageZoom);
391
pageSize = _documentPage.
Size
;
437
_pageHost.Arrange(new Rect(_pageHost.CachedOffset, _documentPage.
Size
));
955
if (_pageHost != null && _pageHost.PageVisual != null && _documentPage.
Size
!= Size.Empty)
960
Rect pageVisualRect = new Rect(_documentPage.
Size
);
System\Windows\Documents\DocumentSequence.cs (3)
1053
: base((documentPage is FixedDocumentPage) ? ((FixedDocumentPage)documentPage).FixedPage : documentPage.Visual, documentPage.
Size
, documentPage.BleedBox, documentPage.ContentBox)
1131
e.Measure(base.
Size
);
1132
e.Arrange(new Rect(base.
Size
));
System\Windows\Documents\FixedDocument.cs (2)
1414
e.Measure(base.
Size
);
1415
e.Arrange(new Rect(base.
Size
));
ReachFramework (3)
Serialization\Manager\ReachDocumentPageSerializer.cs (1)
134
Size size = Toolbox.ValidateDocumentSize(dp.
Size
, printTicket);
Serialization\Manager\ReachDocumentPageSerializerAsync.cs (1)
197
Size size = Toolbox.ValidateDocumentSize(dp.
Size
, printTicket);
Serialization\Manager\XpsOMDocumentPageSerializer.cs (1)
156
Size size = Toolbox.ValidateDocumentSize(dp.
Size
, printTicket);