can getpixelposition() be used for uifigure?

getpixelposition(hObj, recursive) is a convenient function to get the position of an object, especially when recursive is true.
The documentation says it should be used only for legacy figure/GUIDE. But based on my limited test, it works fine for uifigure without any warning.
Is the documentation a little outdated, or is there any consideration to avoid using it for uifigure?

 Respuesta aceptada

Aman Vyas
Aman Vyas el 6 de Nov. de 2020

0 votos

Hi,
getpixelposition is supported in uifigure. The documentation pages should update in future releases.
Aman

Más respuestas (0)

Categorías

Más información sobre Develop Apps Programmatically en Centro de ayuda y File Exchange.

Preguntada:

el 28 de Oct. de 2020

Respondida:

el 6 de Nov. de 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by