Inserting a graphic
Inserting a graphic
- Subject: Inserting a graphic
- From: David Remahl <email@hidden>
- Date: Mon, 19 Nov 2001 23:00:28 +0100
I need to insert an NSImage into an NSTextView. I have checked out the
documentation, and the closest I can get is the replaceRange:withRTFD:. So,
my question is, how can I generate an NSData object with the correct RTFD
data for my NSImage? The 1994 openstep docu i found, said programmatic RTFD
generation was not available. Has this changed? Should I instead use some
other method? (maybe involving an NSPasteboard?).
/ Sincerely,
// David Remahl