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

PreRun Method

Show in webframe
Owner document viewer.
The value to be used with the command.
Inform the document viewer that this command is about to run with the specified value.
Syntax
 function Leadtools.Documents.UI.DocumentViewerCommand.preRun( 
   documentViewer ,
   value 
)

Parameters

ParameterTypeDescription
documentViewerDocumentViewerOwner document viewer.
valueobjectThe value to be used with the command.

Return Value

TypeDescription
boolean true to continue running the command; otherwise, false to abort.
Remarks

This method informs the document viewer that this command is about to run by creating a new DocumentViewerOperationEventArgs object with DocumentViewerOperation.RunCommand and the command object in Data1, value in Data2 and IsPostOperation set to false then firing the Operation event.

This informs anyone listening to the event the command is about to run which can be important if the command is slow. For example, to create a wait dialog in the user interface in this case.

The listener can also abort the execution of this command by setting the value of Abort to true. Which will result in this method returning false to the document viewer and the running of this command is canceled.

See Also

Reference

DocumentViewerCommand Object
DocumentViewerCommand 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