FlowDocumentReader.SwitchViewingMode(FlowDocumentReaderViewingMode) 方法

定义

执行 SwitchViewingModeCommand 命令。

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)

参数

viewingMode
FlowDocumentReaderViewingMode

FlowDocumentReaderViewingMode 值之一,用于指定所需的查看模式。

注解

此方法将 FlowDocumentReader 切换到指定的查看模式。

有关 的可用查看模式 FlowDocumentReader的详细信息,请参阅 FlowDocumentReaderViewingMode

适用于