Share via

Office Javascript API

Anonymous
2018-01-29T22:09:11+00:00

I'm looking through the javascript api and am having a hard time trying to get back the dimensions of the current document. Paper type that is. I'm converting the current document in to a pdf and sending it through an ajax call in the add-in to our servers. However, I'd like to find out the dimensions of the object before the call is made to verify the correct size. (8.5 x 11, for example). What api call will help me find the dimension of the current docuement?

Moved from: Office /Word /Windows other /Office Online

Microsoft 365 and Office | Word | For home | Windows

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2018-01-30T20:26:15+00:00

    Hello Manuel,

    Your concern may need an in-depth technical assistance from the experts in MSDN (Microsoft Developer Network) as it requires advanced knowledge in Office Javascript API. We advise that you also post your concern on this MSDN forum link.

    Feel free to reach out if you require further assistance.

    Was this answer helpful?

    0 comments No comments