11 references to PageHeight
PresentationFramework (11)
MS\Internal\PtsHost\FigureHelper.cs (5)
131
value = (structuralCache.CurrentFormatContext.
PageHeight
) * figureLength.Value;
137
value = (structuralCache.CurrentFormatContext.
PageHeight
- pageMargin.Top - pageMargin.Bottom) * figureLength.Value;
175
value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.
PageHeight
));
180
value = Math.Max(1, Math.Min(value, structuralCache.CurrentFormatContext.
PageHeight
- pageMargin.Top - pageMargin.Bottom));
189
value = structuralCache.CurrentFormatContext.
PageHeight
;
MS\Internal\PtsHost\FigureParagraph.cs (2)
627
maxTotalHeight = StructuralCache.CurrentFormatContext.
PageHeight
;
632
maxTotalHeight = StructuralCache.CurrentFormatContext.
PageHeight
- pageMargin.Top - pageMargin.Bottom;
MS\Internal\PtsHost\FloaterParagraph.cs (2)
205
if (Double.IsInfinity(StructuralCache.CurrentFormatContext.
PageHeight
))
215
dvrAvailable = Math.Min(dvrAvailable, TextDpi.ToTextDpi(StructuralCache.CurrentFormatContext.
PageHeight
));
MS\Internal\PtsHost\StructuralCache.cs (1)
759
internal PTS.FSRECT PageRect { get { return new PTS.FSRECT(new Rect(0, 0, PageWidth,
PageHeight
)); } }
MS\Internal\PtsHost\UIElementParagraph.cs (1)
402
elementHeight = StructuralCache.CurrentFormatContext.
PageHeight
;