Picture.HandleType.NSImage - missing ?

according to the docs there should be an NSImage handle type.
The picture.handletype autocomplete is still incorrect and showing menu item enumerations (still in 2015R4,
feedback://showreport?report_id=37458 )

I don’t get handle when typing it manually. Does it exists at all ?

[quote=241287:@Rob Egal]according to the docs there should be an NSImage handle type.
The picture.handletype autocomplete is still incorrect and showing menu item enumerations (still in 2015R4,
feedback://showreport?report_id=37458 )

I don’t get handle when typing it manually. Does it exists at all ?[/quote]

Are you referring to CopyOSHandle ? http://documentation.xojo.com/index.php/Picture.CopyOSHandle

Indeed NSImage does not work, but Picture.HandleType.MacNSImage does.

I believe the Doc should be corrected.

Does MacNSImage work though? I get a PlatformNotSupportedException with no message or reason.

oh that is right.

Messy…

That said, there are a number of places in the forum where people use NSImage with different methods.

picture handle is normally a CGBitmapContextRef for Cocoa, not an NSImage.