Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
© 2017 Microsoft