Szerkesztés

Megosztás a következőn keresztül:


FlowDocumentReader.SwitchViewingMode(FlowDocumentReaderViewingMode) Method

Definition

Executes the SwitchViewingModeCommand command.

public:
 void SwitchViewingMode(System::Windows::Controls::FlowDocumentReaderViewingMode viewingMode);
public void SwitchViewingMode (System.Windows.Controls.FlowDocumentReaderViewingMode viewingMode);
member this.SwitchViewingMode : System.Windows.Controls.FlowDocumentReaderViewingMode -> unit
Public Sub SwitchViewingMode (viewingMode As FlowDocumentReaderViewingMode)

Parameters

viewingMode
FlowDocumentReaderViewingMode

One of the FlowDocumentReaderViewingMode values that specifies the desired viewing mode.

Remarks

This method switches the FlowDocumentReader to the specified viewing mode.

For details on available viewing modes for a FlowDocumentReader, see FlowDocumentReaderViewingMode.

Applies to