←Select platform

CanRun(string) Method

Summary

Checks if a command can run.

Syntax

C#
VB
C++
public bool CanRun( 
   string commandName 
) 
Public Function CanRun( 
   ByVal commandName As String 
) As Boolean 
public:  
   bool CanRun( 
      String^ commandName 
   ) 

Parameters

commandName

Command name

Return Value

true if the command can run with the specified value; otherwise, false.

Remarks

This method is the equivalent of calling CanRun(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