PdfSetZoomCommand.ForceExecute(ICommandUIState) Method

Performs a command action regardless of a command state.

Namespace: DevExpress.XtraPdfViewer.Commands

Assembly: DevExpress.XtraPdfViewer.v20.1.dll


public override void ForceExecute(
    ICommandUIState state
Public Overrides Sub ForceExecute(
    state As ICommandUIState


Name Type Description
state ICommandUIState

An object which implements the ICommandUIState interface.


Call the ForceExecute method to unconditionally trigger a command's execution.

To avoid arbitrary execution of commands, use the Command.Execute method that automatically evaluates whether or not the command is applicable in the current context of the application user interface.

See Also