FlowDocumentReader.SwitchViewingMode(FlowDocumentReaderViewingMode) FlowDocumentReader.SwitchViewingMode(FlowDocumentReaderViewingMode) FlowDocumentReader.SwitchViewingMode(FlowDocumentReaderViewingMode) 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

Remarks

This method switches the FlowDocumentReader to the specified viewing mode.

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

Applies to