DocumentPageView.MeasureOverride Method (Size)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Returns the available viewport size that can be given to display the current DocumentPage.

Namespace:   System.Windows.Controls.Primitives
Assembly:  PresentationFramework (in PresentationFramework.dll)

protected override sealed Size MeasureOverride(
	Size availableSize


Type: System.Windows.Size

The maximum available size.

Return Value

Type: System.Windows.Size

The actual desired size.

The returned size is always equal to or less than the given availableSize.

.NET Framework
Available since 3.0
Return to top