script-lab
script-lab copied to clipboard
How to get acces to style object to console.log some of it properties.
I dont mean to just print font or props, maybe some paragraphFormat propertie. Of course without making someone to select text. I mean to just get properties of individual style. Is it posible ?
@JonaszJanicki Can you clarify? Are you trying to get the properties of a specific style?
It seems like you don't want the user to select text before you can output info about the style used by that text?
Also, which Office application are you working with for this?
Hello @JonaszJanicki I believe you are asking about the office.js APIs. [Stack Overflow with the office-js tag] is a great place to ask these kinds of questions about APIs.