I have a rich media annotation in a floating window. I'd like to have it automatically resize based on the visible area. I have verified that the multimedia_setWidgetViewSize function will do what I want; however, I was hoping to reference innerDocWindowRect or pageWindowRect in order to determine an appropriate size, but these properties seem to be undefined on the document instance.
Are these properties intended to be generally accessible? Is there something else I might be missing?
I am able to access the app.monitors property to determine screen resolutions, but that is only of marginal use since I still don't know much about the visible area given that the document may be embedded in a web page or the application window size might be considerably smaller than the resolution.