Error processing SSI file
LEADTOOLS Leadtools.Documents.UI (Leadtools.Documents.UI assembly)

CanRun Method

Show in webframe
Command name
Optional value to pass to the callback
Checks if a command can run with the specified optional value.
Syntax
 function Leadtools.Documents.UI.DocumentViewerCommands.canRun( 
   commandName ,
   value 
)

Parameters

ParameterTypeDescription
commandNamestringCommand name
valueobjectOptional value to pass to the callback

Return Value

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

This method checks if the command exists and if it has a CanRunHandler 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 false - the command cannot run.

Refer to Document Viewer Commands for more information.

See Also

Reference

DocumentViewerCommands Object
DocumentViewerCommands Members

Error processing SSI file
  Leadtools.Documents.UI requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features