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

    Parameters

    format
    The format of the data to look for.

    Return Value

    True if the Clipboard contains data in the specified format; otherwise, false.
    Exceptions
    ExceptionDescription
    Thrown if argument has wrong type.
    Browser Compatibility
    9
    See Also