Skip navigation.
 
mlRe: extracting a piece of a PDF page (PDFDocument, PDFPage, etc)
FROM : Chad Leigh
DATE : Tue Jul 25 22:02:37 2006

On Jul 25, 2006, at 5:52 AM, Antonio Nunes wrote:

> On 25 Jul 2006, at 08:25, Chad Leigh wrote:
>

>> [labelPage drawInRect:labelRect 
>> withBox:kPDFDisplayBoxBleedBox];  // labelPage is a PDFPage of a 
>> document in the view
>>
>> *** -[PDFPage drawInRect:withBox:]: selector not recognized [self 
>> = 0x16c9ea0]

>
> Draw the page with: - (void)drawWithBox:(PDFDisplayBox)box


That is what I am doing.  It is just not in the right place :-)

>
> To position it where you want use an affine transform to translate 
> the coordinate system as need before you draw.


Thanks, I was not aware of that (most of my app programming in the 
last million years has been UIless stuff so I am not up on all the 
drawing bits);

I took a look and will try to implement something this afternoon or 
evening!

Thanks!
Chad