postRun Method

Summary

Inform the document viewer that this command had run with the specified value.

Syntax
TypeScript
JavaScript
DocumentViewerCommand.prototype.postRun = function( 
   documentViewer, 
   value 
) 
postRun( 
   documentViewer: DocumentViewer, 
   value: any 
): void; 

Parameters

documentViewer

Owner document viewer.

value

The value that was used to run the command.

Remarks

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

This informs anyone listening to the event the command had run . For example, to update a related user interface state.

Requirements

Target Platforms

Help Version 22.0.2023.4.18
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

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