preRun Event

Summary

Occurs when the Run method is called, sending out ImageLoaderPreRunEventArgs.

Syntax

JavaScript Syntax
Object.defineProperty(ImageLoader.prototype,'preRun',  
	get: function(), 
	set: function(value) 
) 
function preRun.add(function(sender, e)); 
function preRun.remove(function(sender, e)); 
TypeScript Syntax
preRun: void; 

Remarks

The PreRun event handler is useful in situations where Run is called based on a page event.

The Cancel property, when set to true, will cause the Fail event to be called. This is different than the Abort method, which will fail silently and not call any callbacks.

Event Data
ParameterTypeDescription
sendervarThe source of the event.
eImageLoaderPreRunEventArgsThe event data.
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 Assembly