Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Code warrior for Mac > Problem drawing...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 2136 of 2225
Post > Topic >>

Problem drawing a pdf document (CGContextDrawPDFDocument)

by "Hans Stoessel" <hstoessel.list@[EMAIL PROTECTED] > May 17, 2006 at 11:02 AM

Hi

I develop a QuarkXtension in CW 8.3. In this XTension there is a dialog
and 
I want to display a pdf document in a rectangle of this dialog. I use 
CGContextDrawPDFDocument to do this. But it doesn't work. The document
isn't 
displayed.
What could be wrong?
Has anybody a piece of sample code?

I tried the same using CGContextDrawPDFPage, but the class CGPDFPageRef 
isn't known. I included "CFPDFPage.h", but after that I have a lot of
error 
messages from the compiler. I don't know why. The class CGPDFDocumentRef
is 
known without including any header file. I know, somewhere it is declared,

but I am wondering why CGPDFDocumentRef is declared and CGPDFPageRef not.
Any idea?

Thanks.

Regards
Hans
 




 2 Posts in Topic:
Problem drawing a pdf document (CGContextDrawPDFDocument)
"Hans Stoessel"  2006-05-17 11:02:21 
Re: Problem drawing a pdf document (CGContextDrawPDFDocument)
larry@[EMAIL PROTECTED]   2006-05-21 11:21:13 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sun Jul 6 1:22:48 CDT 2008.