How can i can the change Height and Width properties of any object in powerbi using any formula or DAX or any method other than the propertise pane. Thanks
I'm afraid there isn't a way to do this.
DAX and Power Query are data modeling languages. Please refer to this site.
What can an API do? Please refer to this site.
If you want this feature, you can submit an idea here.