編輯

共用方式為


DocumentViewer.FitToWidthCommand Property

Definition

Gets the RoutedUICommand that performs the FitToWidth() operation.

public:
 static property System::Windows::Input::RoutedUICommand ^ FitToWidthCommand { System::Windows::Input::RoutedUICommand ^ get(); };
public static System.Windows.Input.RoutedUICommand FitToWidthCommand { get; }
static member FitToWidthCommand : System.Windows.Input.RoutedUICommand
Public Shared ReadOnly Property FitToWidthCommand As RoutedUICommand

Property Value

The routed command that performs the FitToWidth() operation.

Remarks

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

Applies to

See also