11 references to PageHeight
PresentationFramework (11)
MS\Internal\PtsHost\FigureHelper.cs (5)
130value = (structuralCache.CurrentFormatContext.PageHeight) * figureLength.Value; 136value = (structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom) * figureLength.Value; 174value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.PageHeight)); 179value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom)); 188value = structuralCache.CurrentFormatContext.PageHeight;
MS\Internal\PtsHost\FigureParagraph.cs (2)
620maxTotalHeight = StructuralCache.CurrentFormatContext.PageHeight; 625maxTotalHeight = StructuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom;
MS\Internal\PtsHost\FloaterParagraph.cs (2)
204if (Double.IsInfinity(StructuralCache.CurrentFormatContext.PageHeight)) 214dvrAvailable = Math.Min(dvrAvailable, TextDpi.ToTextDpi(StructuralCache.CurrentFormatContext.PageHeight));
MS\Internal\PtsHost\StructuralCache.cs (1)
758internal PTS.FSRECT PageRect { get { return new PTS.FSRECT(new Rect(0, 0, PageWidth, PageHeight)); } }
MS\Internal\PtsHost\UIElementParagraph.cs (1)
398elementHeight = StructuralCache.CurrentFormatContext.PageHeight;