Leadtools.Documents.UI Namespace > DocumentViewerCommand Object : PostRun Method |
function Leadtools.Documents.UI.DocumentViewerCommand.postRun( documentViewer , value )
Parameter | Type | Description |
---|---|---|
documentViewer | DocumentViewer | Owner document viewer. |
value | object | The value that was used to run the command. |
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, value 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.