VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Shared Namespace / VintasoftLocalizationJS type / setStringConstant Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    setStringConstant Method
    In This Topic
    Sets the string constant for localization.
    Syntax
    var instance = new Vintasoft.Shared.VintasoftLocalizationJS();
    
    var value; // Type: any
    
    // Parameters
    var id; // Type: string
    var value; // Type: string
    
    value = instance.setStringConstant(id, value);
    
    
    function setStringConstant(
    id
    The identifier of string constant.
    : string,
    value
    The string constant that should be localized.
    : string
    ) : any;

    Parameters

    id
    The identifier of string constant.
    value
    The string constant that should be localized.
    Exceptions
    ExceptionDescription
    Thrown if value is not a string or empty string.
    Browser Compatibility
    9
    See Also