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
larry@skytag.com - 21 May 2006 19:21 GMT
> Hi
>
[quoted text clipped - 11 lines]
> but I am wondering why CGPDFDocumentRef is declared and CGPDFPageRef not.
> Any idea?
This isn't really a CW issue. For Mac development questions I'd highly
recommend using one of Apple's developer lists suchs as carbon-dev
instead of this list, which is quickly losing contributors.
Larry