VintaSoft Barcode .NET SDK 15.1: Documentation for Web developer
Vintasoft.Barcode Namespace / WebSwissQrCodeBarcodeValueJS type / set_Amount Property
Syntax Exceptions BrowserCompatibility SeeAlso
    set_Amount Method
    Sets the payment amount.
    Syntax
    var instance = new Vintasoft.Barcode.WebSwissQrCodeBarcodeValueJS();
    
    var returnValue; // Type: any
    
    // Parameters
    var value; // Type: string
    
    returnValue = instance.set_Amount(value);
    
    

    Parameters

    value
    The payment amount.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type. The amount element is to be entered without leading zeroes, including decimal separators and two decimal places. Decimal, maximum 12-digits permitted, including decimal separators. Only decimal points (".") are permitted as decimal separators.
    Browser Compatibility
    9
    5
    11
    5
    See Also