msConvertURL method

Instructs the HTML paste operation on how to modify the src attribute that correspond to each file in the clipboardData.files collection.

IE11

 

Syntax

var retVal = DragEvent.msConvertURL(file, targetType, targetURL);

Parameters

  • file [in]
    Type: File

    The file object to be converted.

  • targetType [in]
    Type: DOMString

    One of the following values indicating the desired conversion type: "specified", "base64", or "unchanged".

  • targetURL [in, optional]
    Type: URL

    The target URL.

Remarks

For a code sample, see files.

See also

DragEvent

files