FlowDocumentReader::SwitchViewingMode Method (FlowDocumentReaderViewingMode)
.NET Framework (current version)
Executes the SwitchViewingModeCommand command.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- viewingMode
-
Type:
System.Windows.Controls::FlowDocumentReaderViewingMode
One of the FlowDocumentReaderViewingMode values that specifies the desired viewing mode.
This method switches the FlowDocumentReader to the specified viewing mode.
For details on available viewing modes for a FlowDocumentReader, see FlowDocumentReaderViewingMode.
.NET Framework
Available since 3.0
Available since 3.0
Show: