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