11 references to PageHeight
PresentationFramework (11)
MS\Internal\PtsHost\FigureHelper.cs (5)
139value = (structuralCache.CurrentFormatContext.PageHeight) * figureLength.Value; 145value = (structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom) * figureLength.Value; 183value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.PageHeight)); 188value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom)); 197value = structuralCache.CurrentFormatContext.PageHeight;
MS\Internal\PtsHost\FigureParagraph.cs (2)
630maxTotalHeight = StructuralCache.CurrentFormatContext.PageHeight; 635maxTotalHeight = StructuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom;
MS\Internal\PtsHost\FloaterParagraph.cs (2)
208if (Double.IsInfinity(StructuralCache.CurrentFormatContext.PageHeight)) 218dvrAvailable = Math.Min(dvrAvailable, TextDpi.ToTextDpi(StructuralCache.CurrentFormatContext.PageHeight));
MS\Internal\PtsHost\StructuralCache.cs (1)
759internal PTS.FSRECT PageRect { get { return new PTS.FSRECT(new Rect(0, 0, PageWidth, PageHeight)); } }
MS\Internal\PtsHost\UIElementParagraph.cs (1)
395elementHeight = StructuralCache.CurrentFormatContext.PageHeight;