11 references to PageHeight
PresentationFramework (11)
src\Framework\MS\Internal\PtsHost\FigureHelper.cs (5)
144value = (structuralCache.CurrentFormatContext.PageHeight) * figureLength.Value; 150value = (structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom) * figureLength.Value; 188value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.PageHeight)); 193value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom)); 202value = structuralCache.CurrentFormatContext.PageHeight;
src\Framework\MS\Internal\PtsHost\FigureParagraph.cs (2)
658maxTotalHeight = StructuralCache.CurrentFormatContext.PageHeight; 663maxTotalHeight = StructuralCache.CurrentFormatContext.PageHeight - pageMargin.Top - pageMargin.Bottom;
src\Framework\MS\Internal\PtsHost\FloaterParagraph.cs (2)
220if (Double.IsInfinity(StructuralCache.CurrentFormatContext.PageHeight)) 230dvrAvailable = Math.Min(dvrAvailable, TextDpi.ToTextDpi(StructuralCache.CurrentFormatContext.PageHeight));
src\Framework\MS\Internal\PtsHost\StructuralCache.cs (1)
769internal PTS.FSRECT PageRect { get { return new PTS.FSRECT(new Rect(0, 0, PageWidth, PageHeight)); } }
src\Framework\MS\Internal\PtsHost\UIElementParagraph.cs (1)
397elementHeight = StructuralCache.CurrentFormatContext.PageHeight;