ImageGear .NET v25.0 - Updated
imGearServicePath Property

ImageGear.Web.Isis Library > ImageGear.Web.Isis Namespace > ImGearIsisScannerService class : imGearServicePath Property
Gets or sets the path of the ImageGear service.
Syntax
ASP.NET Ajax Javascript (Specification) 
function get_imGearServicePath() : string
function set_imGearServicePath(value : string)
ASP.NET Ajax Javascript (Usage) 
var resultVar = instanceOfImGearIsisScannerService.get_imGearServicePath();
Example

The JavaScript code below demonstrates how to set the ImageGear service path.

scannerService = new ImageGear.Web.Isis.ImGearIsisScannerService();
var url = location.href;
var servicePath = url.substring(0, url.indexOf('/', 14)) + '/' + 'ImGearIsisSample';
scannerService.set_imGearServicePath(servicePath);
Remarks
To license the ISIS functionality, this property must be set to the path of the ImageGear service before calling the ImageGear.Web.Isis.ImGearIsisScannerService.createSession method. If it is not set to the path of the ImageGear service or if a valid license is not being used, the ISIS functionality works but each scanned image is watermarked and a maximum of 50 pages can be scanned.
See Also

Reference

ImGearIsisScannerService class
ImGearIsisScannerService Members