ImageGear .NET v25.2 - Updated
ImageGear.Web.Isis Library / ImageGear.Web.Isis Namespace / ImGearIsisScannerService class / imGearServicePath Property

In This Topic
    imGearServicePath Property
    In This Topic
    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