37 references to Size
PresentationCore (2)
System\Windows\Documents\DocumentPage.cs (2)
119return new Rect(this.Size); 134return new Rect(this.Size);
PresentationFramework (32)
MS\Internal\Documents\DocumentGridPage.cs (3)
240if (DocumentPage.Size != Size.Empty && DocumentPage.Size.Width != 0.0) 242_documentPageView.SetPageZoom(availableSize.Width / DocumentPage.Size.Width);
MS\Internal\Documents\FlowDocumentPaginator.cs (1)
370transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, flowDocumentPage.Size.Width, 0.0);
MS\Internal\Documents\FlowDocumentView.cs (5)
81desiredSize.Width = Math.Min(constraint.Width, _formatter.DocumentPage.Size.Width); 82desiredSize.Height = Math.Min(constraint.Height, _formatter.DocumentPage.Size.Height); 86desiredSize = _formatter.DocumentPage.Size; 123if (!DoubleUtil.AreClose(_scrollData.Extent, _formatter.DocumentPage.Size)) 125_scrollData.Extent = _formatter.DocumentPage.Size;
MS\Internal\Documents\PageCache.cs (2)
606if (args.DocumentPage.Size == Size.Empty) 613newEntry.PageSize = args.DocumentPage.Size;
MS\Internal\Documents\TextDocumentView.cs (5)
3281MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.Size.Width, 0.0); 3299MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.Size.Width, 0.0); 3325transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.Size.Width, 0.0); 3343MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.Size.Width, 0.0); 3361MatrixTransform transform = new MatrixTransform(-1.0, 0.0, 0.0, 1.0, _owner.Size.Width, 0.0);
MS\Internal\LayoutDump.cs (1)
302DumpSize(writer, "Size", page.Size);
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
769return new Rect(this.Size); 866PtsHelper.UpdateMirroringTransform(FlowDirection.LeftToRight, flowdirection, pageVisual, Size.Width);
MS\Internal\PtsHost\StructuralCache.cs (1)
653internal Size DocumentPageSize { get { return _owner._currentPage.Size; } }
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
292Size tempSize = page.Size;
System\Windows\Controls\Primitives\DocumentPageView.cs (6)
324pageSize = new Size(_documentPage.Size.Width * _pageZoom, _documentPage.Size.Height * _pageZoom); 390pageSize = _documentPage.Size; 436_pageHost.Arrange(new Rect(_pageHost.CachedOffset, _documentPage.Size)); 948if (_pageHost != null && _pageHost.PageVisual != null && _documentPage.Size != Size.Empty) 953Rect pageVisualRect = new Rect(_documentPage.Size);
System\Windows\Documents\DocumentSequence.cs (3)
1049: base((documentPage is FixedDocumentPage) ? ((FixedDocumentPage)documentPage).FixedPage : documentPage.Visual, documentPage.Size, documentPage.BleedBox, documentPage.ContentBox) 1127e.Measure(base.Size); 1128e.Arrange(new Rect(base.Size));
System\Windows\Documents\FixedDocument.cs (2)
1410e.Measure(base.Size); 1411e.Arrange(new Rect(base.Size));
ReachFramework (3)
Serialization\Manager\ReachDocumentPageSerializer.cs (1)
133Size size = Toolbox.ValidateDocumentSize(dp.Size, printTicket);
Serialization\Manager\ReachDocumentPageSerializerAsync.cs (1)
196Size size = Toolbox.ValidateDocumentSize(dp.Size, printTicket);
Serialization\Manager\XpsOMDocumentPageSerializer.cs (1)
155Size size = Toolbox.ValidateDocumentSize(dp.Size, printTicket);