How to call office js function hosted in taskpane from c# addin. For example, On contentcontrol enter event, highlight any html control on taskpane

Ganesh Panchal 1 Reputation point
2022-04-26T16:56:13.96+00:00

How to call office js function hosted in taskpane from c# addin. For example, On contentcontrol enter event, highlight any html control on taskpane

JavaScript API
JavaScript API
An Office service that supports add-ins to interact with objects in Office client applications.
854 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,399 questions
{count} votes

1 answer

Sort by: Most helpful
  1. David Chesnut 81 Reputation points Microsoft Employee
    2022-10-31T23:20:00.667+00:00

    You can get the Office version and some related information through Office.context.diagnostics. See https://learn.microsoft.com/javascript/api/office/office.context?view=common-js-preview#office-office-context-diagnostics-member

    0 comments No comments