Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.3
|
Leadtools.Documents.UI Namespace > DocumentViewerCommands Class > Run Method : Run(String,Object) Method |
public object Run( string commandName, object value )
'Declaration
Public Overloads Function Run( _ ByVal commandName As String, _ ByVal value As Object _ ) As Object
'Usage
Dim instance As DocumentViewerCommands Dim commandName As String Dim value As Object Dim value As Object value = instance.Run(commandName, value)
public: Object^ Run( String^ commandName, Object^ value )
This method checks if the command exists and if it has a RunHandler callback value that is not null, if so, it will invoke the callback with value and returns the result.
If the command does not exist or it does not have a handler, then this method returns null.
Refer to Document Viewer Commands for more information.