Exporting Image (via Pasteboard)
Exporting Image (via Pasteboard)
- Subject: Exporting Image (via Pasteboard)
- From: Simon Bovet <email@hidden>
- Date: Wed, 21 May 2003 00:52:24 +0200
What kind of data type should I use if I want an NSView (containing
some vector drawing) to be able to be copy-pasted into any "standard"
text editor?
When putting NSData from -[NSPrintOperation PDFOperationWithView:self
insideRect:toData:] as NSPDFPboardType (like Sketch), all vector
information are lost when pasted into TextEdit, and M$Word doesn't
allow at all to paste (works though fine with other programs such as
Illustrator). With NSPostScriptPboardType and -[NSPrintOperation
EPSOperationWithView:...], things are even worse: nothing can be pasted!
Has anyone ever been faced with this problem? Thanks for any help!
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.