windows 8 - WinRT Sharing Source Contract both HTML and Files -


it doesn't appear can provide both html content , file content in datarequestedevent handler.

if provide html content (via args.request.data.sethtmlformat(xxx)) , file (via args.request.data.setstorageitems(xxx)) share charm says "there's nothing share".

anyone got ideas or design?

var htmlexample = "<p>here our store logo: <img src='images/logo.png'>.</p>"; var htmlformat = windows.applicationmodel.datatransfer.htmlformathelper.createhtmlformat(htmlexample); request.data.sethtmlformat(htmlformat); 

full exemple here http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.datatransfer.datapackage.sethtmlformat


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -