DocumentViewer.FitToWidthCommand Property

 

Gets the RoutedUICommand that performs the FitToWidth operation.

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

Public Shared ReadOnly Property FitToWidthCommand As RoutedUICommand

Property Value

Type: System.Windows.Input.RoutedUICommand

The routed command that performs the FitToWidth operation.

FitToWidth sets the DocumentViewer control to display a single page width with pages zoomed to the width of the current viewport.

.NET Framework
Available since 3.0
Return to top
Show: