On May 20, 2010, at 1:43 PM, jyoun...@kc.rr.com wrote: > One other quick question. What I'm really trying to achieve is something > similar to how the pdfkit works. I like how the image/text enlarges within > the scrollview when the window is resized. The code is pretty simple as well: > > [pdfView setDocument:[[[PDFDocument alloc] initWithData:[fileMan > contentsAtPath:filePath]] autorelease]]; > [theBox setContentView:pdfView]; > > Is it possible to take an eps image and convert it to a pdf file so I can > view it through the pdfkit?
Yes, using CGPSConverter. http://developer.apple.com/mac/library/documentation/GraphicsImaging/Reference/CGPSConverter/Reference/reference.html _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com