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

    Parameters

    format
    The format of the data to retrieve.

    Return Value

    A Clipboard data or null if the Clipboard does not contain any data that is in the specified "format".
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    See Also