DocumentPageView.MeasureOverride Method (Size)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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
)

Parameters

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
Show: