upper left corner of a preview

chrigu

New member
Hi all

I'm trying to get the coordinates of the upper left corner of a preview via JS. I'm trying to do a similar thing to setting the region of interest from a preview in PCC).

Thx
Chrigu
 
After more digging I found the solution myself.

myPreview.window.previewRect(myPreview).leftTop gives me what I'm looking for

Christoph
 
Back
Top