FlowDocumentReader::SwitchViewingMode Method (FlowDocumentReaderViewingMode)

 

Executes the SwitchViewingModeCommand command.

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

public:
void SwitchViewingMode(
	FlowDocumentReaderViewingMode viewingMode
)

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
Return to top
Show: