Printing PDFDocument combined with NSView objects
Printing PDFDocument combined with NSView objects
- Subject: Printing PDFDocument combined with NSView objects
- From: "Ferhat Ayaz" <email@hidden>
- Date: Mon, 8 Jan 2007 14:46:59 +0100
Hello,
how can I print a PDF document as background on a page with several NSView
objects?
I tryed to use NSImageView for PDFDocument representation. Here is a code
snippet, how I assigned the PDF document.
NSImageView * imgView = //..
PDFDocument *pdfDoc = //...
[[NSImage alloc] initWithData:[pdfDoc dataRepresentation]]
// ...
[imgView addSubview:<some-views>]
But this produces an "image" as background of course. When I'm scaling the
preview (from PrintDialog), the image will became a very bad resolution.
I want to keep the background as PDF and not as image. Additionally I want
my NSViews on the document. How can I do this?
Or .. is there a completely other solution, what I don't know?
Thanks,
Ferhat
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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