¡@

Home 

2014/10/15 ¤U¤È 10:10:08

iphone Programming Glossary: i1

Extracting images from a PDF

http://stackoverflow.com/questions/2475450/extracting-images-from-a-pdf

document MyGetPDFDocumentRef filePath UTF8String int pgcnt CGPDFDocumentGetNumberOfPages document for int i1 0 i1 pgcnt i1 1. Open Document page CGPDFPageRef pg CGPDFDocumentGetPage document i1 1 if pg NSLog @ Couldn't open page... document MyGetPDFDocumentRef filePath UTF8String int pgcnt CGPDFDocumentGetNumberOfPages document for int i1 0 i1 pgcnt i1 1. Open Document page CGPDFPageRef pg CGPDFDocumentGetPage document i1 1 if pg NSLog @ Couldn't open page. 2... MyGetPDFDocumentRef filePath UTF8String int pgcnt CGPDFDocumentGetNumberOfPages document for int i1 0 i1 pgcnt i1 1. Open Document page CGPDFPageRef pg CGPDFDocumentGetPage document i1 1 if pg NSLog @ Couldn't open page. 2. get page..