Graphics

Can i get the values of the Diagram I draw using GeometryWidget

Can i get the values of the Diagram I draw using GeometryWidget.

Ex:- I have drawn a rectangle with length = 4 & breath = 2 using GeometryWidget.

How do i get values of the length and breath in the code, currently I know that getResultAsImage() method give the Bitmap of what I draw, But I need the values of length and breath which is 4 and 2.

Is there any method which gives these values.

Thanks,


Cate,

Thanks a lot for the Information.

Vinay.

Dear Sir,

Unfortunately this is something we considered but the current version of the Geometry widget does not offer such api.
Only the api 'setValue' mais be helpful for you:
http://doc.myscript.com/MyScriptATK_2.1/iOS/_/gew/ref/html/Classes/GWGeometryView.html#//api/name/setValue:uniqueId:
However the user will have to select an item to see this value.

Rest assured that we will communicate as soon as we will have new version or product available.

Best regards

Login or Signup to post a comment