DocumentPageView::MeasureOverride Method (Size)

 

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:
virtual Size MeasureOverride(
	Size availableSize
) override sealed

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: