←Select platform

Run(string) Method

Summary

Runs a command.

Syntax
C#
VB
C++
public object Run( 
   string commandName 
) 
Public Function Run( 
   ByVal commandName As String 
) As Object 
public:  
   Object^ Run( 
      String^ commandName 
   ) 

Parameters

commandName

Command name

Return Value

The result of the callback run if the command and its callback exist; otherwise, null.

Remarks

This method is the equivalent of calling Run(commandName, value) with value set to null and can be used as a shortcut to using commands that do not take parameters.

Refer to Document Viewer Commands for more information.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.Viewer.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.