OnPostLoad

Description

This event is triggered when an image file from a local directory has been loaded into the control. If mutliple image files are loaded, this event will be triggered multiple times.

Syntax

.RegisterEvent('OnPostLoad',function(path, name, type){...});

Remarks

path: the local path of the loaded image

name: the name of the loaded image

type:

Allowed Values ImageType
0 BMP
1 JPEG
2 TIFF
3 PNG
4 PDF

Example

DWObject.RegisterEvent('OnPostLoad', function(path, name, type){
    alert(path + '\\' + name);
});