Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
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
Partner - Champion III
Partner - Champion III

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?