Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Highlighted
Partner
Partner

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
MVP & Luminary
MVP & Luminary

Re: Return Coordinates of Object?

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
Partner
Partner

Re: Return Coordinates of Object?

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?