←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI.WinForms Assembly