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,
<https://xojo.com/issue/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,
<https://xojo.com/issue/37458> )

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

Are you referring to CopyOSHandle ? Page Not Found — Xojo documentation

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.