Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 3324d28de2
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 38 lines (30 sloc) 0.941 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
//
// DTPDFDocument.h
// DTFoundation
//
// Created by Stefan Gugarel on 9/24/12.
// Copyright (c) 2012 Cocoanetics. All rights reserved.
//

/**
Class that encapsulates a PDF document. It is a wrapper around CGPDFDocument
*/
@interface DTPDFDocument : NSObject

/**-------------------------------------------------------------------------------------
@name Creating PDF Documents
---------------------------------------------------------------------------------------
*/

/**
Creates and returns a `DTPDFDocument` object initialized from the PDF file at the given file URL.
@param url A file URL
@returns An initialized PDF document
*/
- (id)initWithURL:(NSURL *)url;

/**
The number of pages in the receiver
*/
@property (nonatomic, assign, readonly) NSInteger numberOfPages;

/**
The array of <DTPDFPage> instances representing the pages in the document
*/
@property (nonatomic, strong, readonly) NSArray *pages;

@end
Something went wrong with that request. Please try again.