Hi all,

Will some kind soul please point me to a decent explanation of Assemblies, NameSpaces CLR references and the from X import Y command from an IronPythin perspective?

I'm utterly fed up of getting errors like this one.

When I use

from System.Drawing import Size

I get the ultra-informative error message in my subject line.

I am trying to translate the following line from c#

worksOrder.Measure(new Size(printDlg.PrintableAreaWidth, printDlg.PrintableAreaHeight));

worksOrder is a Grid, printDlg is a printDialog.

I have...

worksOrder.Measure(Size(printDlg.PrintableAreaWidth, printDlg.PrintableAreaHeight))

And I need to know how to find out where I can get the correct definition of Size.

Thanks

Ian


_______________________________________________
Users mailing list
Users@lists.ironpython.com
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to