GeoMedia Discussions

Search for an answer, post a question, or answer other users' questions in our GeoMedia support discussions. This discussion board is a great way to collaborate with industry peers around the world. It is intended for discussion and support of the GeoMedia Desktop and Add-on applications.
Showing results for 
Search instead for 
Do you mean 
Reply
Highlighted
Occasional Contributor
Posts: 6
Registered: ‎04-18-2017

Check size of SmartFrame2d object and corresponding map scale programmatically

I have added a map frame in layout window, which is SmartFrame2d object in code. I could also embed a map from the mapwindow by using CreateEmbed method. How could I check its frame size programmatically? Also how could I check the current map scale in the SmartFrame2d object after I've embeded a map inside? Thanks!

Frequent Contributor
Posts: 124
Registered: ‎11-10-2015

Re: Check size of SmartFrame2d object and corresponding map scale programmatically

Hi,

 

Unfortunately, I think the nly solution is to read the embeded object string and parse it to get the map properties

 

Regards,