EN
Este contenido no se encuentra disponible en su idioma, pero aquí tiene la versión en inglés.

createDataPackageFromSelection method

Converts the user’s or the applications’s selection to an HTML fragment that can be shared.

Internet Explorer 10

Syntax

object.createDataPackageFromSelection(retVal)

Parameters

This method has no parameters.

Return value

Type: any

Contains the HTML markup for the specified range.

Remarks

If there is no user selection anywhere within the application’s UI, the createDataPackageFromSelection returns null.

The returned data package for the selection contains HTML markup in clipboard format.

Note  There are no available properties for the returned data package.

See also

MSApp
createRange
selection
getRangeAt
createDataPackage

 

 

Build date: 12/16/2013

Mostrar:
© 2014 Microsoft