Office add-in, turn html image into an insertable image -


if have image inside add-in html, in way can make image available used in office app itself? such as, when user click on image inside add-in frame, same image should available outside of add-in frame.

update: powerpoint please (i wasn't aware of inconsistency of api across office applications)

if image hosted somewhere publicly, can insert range.inserthtml() method. alternatively, if image constructed dynamically in base64-encoded file, can insert range.insertfilefrombase64() method.

if you'd add-in work in office 2013, can insert images using document object.

-michael (pm office add-ins)

update: powerpoint specifically, range object not available can still insert images document object: call setselecteddataasync image coercion type.


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -