VintaSoft Twain .NET SDK 15.0: Documentation for Web developer
Vintasoft.Shared Namespace / WebObjectClipboardJS type / setData Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
    setData Method
    In This Topic
    Clears the Clipboard and adds data in the specified format to the Clipboard.
    Syntax
    var instance = new Vintasoft.Shared.WebObjectClipboardJS();
    
    var value; // Type: any
    
    // Parameters
    var format; // Type: string
    var data; // Type: object
    
    value = instance.setData(format, data);
    
    
    function setData(
    format
    The format of the data to set.
    : string,
    data
    Data to add.
    : object
    ) : any;

    Parameters

    format
    The format of the data to set.
    data
    Data to add.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    See Also