Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
TKendrick20
Partner - Specialist
Partner - Specialist

Return Coordinates of Object?

Is there a function that can return the x and y coordinates of a given object? I'm interested in calculating the area of certain objects.

2 Replies
Gysbert_Wassenaar

You can get at that info with a macro. See the QlikView JavaScript API Reference - Version 11 or the vbscript com api guide, usually installed in C:\ProgramData\QlikTech\QlikView Documentation\Automation\APIguide.qvw


talk is cheap, supply exceeds demand
TKendrick20
Partner - Specialist
Partner - Specialist
Author

I found the GetWidth() and GetHeight() methods in the Qv.Document.Object class, but there is a Note! that says: Only available for extensions. Does this mean I won't be able to use these in a macro?