[Mono-osx] NSDeviceSize in DeviceDescription of NSScreen - How to extract values

Eric Hosick erichosick at gmail.com
Sat Mar 26 15:52:40 EDT 2011


Any help getting the NSSize value out of an NSValue would be appreciated. A
general understanding of how to getting values from an NSValue would be
appreciated. Please read below for context.

NSDeviceSize contained within the NSDictionary is of type NSValue.

The value in NSValue is an NSSize (according to

NSSize seems to be converted to an SizeF. There is a method like
NSValue.FromSizeF but there doesn't seem to be something liek


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-osx/attachments/20110327/d88f554f/attachment.html 

More information about the Mono-osx mailing list