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