• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
inserting non RTF graphics into an NSTextView ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

inserting non RTF graphics into an NSTextView ?


  • Subject: inserting non RTF graphics into an NSTextView ?
  • From: Robert Miller <email@hidden>
  • Date: Mon, 03 Dec 2001 13:09:04 -0500
  • Organization: RFM & Associates

Hello,

Can someone tell me what the trick is to inserting a graphics object
into an NSTextView. Specifically I want to insert tiff images into an
NSTextView object at certain character locations. I 've poured over the
on-line documentation and was unable to find the clues that enable this
feature except for the reference to replaceCharactersInRange:withRTFD:
in the NSText class, rtf data which I do not have. I initialize an
NSImage using the class method imageNamed and then obtain its data using
TIFFRepresentation. I'de like to now insert that image into the
NSTextView. Are there any examples available on how to do this ?

Thanks for any help in advance,
Regards,
Bob M.


  • Follow-Ups:
    • Re: inserting non RTF graphics into an NSTextView ?
      • From: Peter Ammon <email@hidden>
  • Prev by Date: Re: Storing NSString with attributes
  • Next by Date: Re: Question
  • Previous by thread: MacOSX and XP (not Windows)
  • Next by thread: Re: inserting non RTF graphics into an NSTextView ?
  • Index(es):
    • Date
    • Thread