postRun Method

Summary

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

Syntax

JavaScript Syntax
DocumentViewerCommand.prototype.postRun = function(documentViewer, value) 
TypeScript Syntax
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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Documents.UI Assembly