NSImage in NSAttributedString
NSImage in NSAttributedString
- Subject: NSImage in NSAttributedString
- From: Timothy Larkin <email@hidden>
- Date: Wed, 12 Nov 2008 06:34:04 -0500
I am building an attributed string for display in a NSTextView. I can
include an image in the string by attaching a file wrapper. But what
if I have just an NSImage? I know that an image from the clipboard can
be inserted in a text view. But how can I do this programatically? Is
there a better way than writing the image to a temporary file and then
using that file wrapper?
--
Timothy Larkin
Abstract Tools
Caroline, NY
Attachment:
PGP.sig
Description: This is a digitally signed message part
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden