PdfDocument Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class for working with PDF documents.
[Foundation.Register("PDFDocument", true)]
public class PdfDocument : Foundation.NSObject, Foundation.INSCopying, IDisposable
[<Foundation.Register("PDFDocument", true)>]
type PdfDocument = class
inherit NSObject
interface INSCopying
interface INativeObject
interface IDisposable
- Inheritance
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| PdfDocument() |
Creates a new PDF document object with default values. |
| PdfDocument(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| PdfDocument(NSData) |
Creates a new PDF document object with the specified data. |
| PdfDocument(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| PdfDocument(NSUrl) |
Creates a new PDF document object from the data at the specified URL. |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| AccessPermissions | |
| AllowsCommenting |
Gets a Boolean value that tells whether the document allows comments. |
| AllowsContentAccessibility |
Gets a Boolean value that tells whether the document allows content accessibility. |
| AllowsCopying |
Gets a Boolean value that tells whether the document allows copying. |
| AllowsDocumentAssembly |
Gets a Boolean value that tells whether the document allows document assembly. |
| AllowsDocumentChanges |
Gets a Boolean value that tells whether the document allows changes. |
| AllowsFormFieldEntry |
Gets a Boolean value that tells whether the document allows form field entry. |
| AllowsPrinting |
Gets a Boolean value that tells whether the document allows printing. |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| Delegate |
An instance of the PdfKit.IPdfDocumentDelegate model class which acts as the class delegate. |
| Description | (Inherited from NSObject) |
| DidBeginFindNotification |
Notification constant for DidBeginFind |
| DidBeginPageFindNotification |
Notification constant for DidBeginPageFind |
| DidBeginPageWriteNotification |
Notification constant for DidBeginPageWrite |
| DidBeginWriteNotification |
Notification constant for DidBeginWrite |
| DidEndFindNotification |
Notification constant for DidEndFind |
| DidEndPageFindNotification |
Notification constant for DidEndPageFind |
| DidEndPageWriteNotification |
Notification constant for DidEndPageWrite |
| DidEndWriteNotification |
Notification constant for DidEndWrite |
| DidFindMatchNotification |
Notification constant for DidFindMatch |
| DidUnlockNotification |
Notification constant for DidUnlock |
| Document |
Gets a Core Graphics PDF object for this PdfKit PDF object. |
| DocumentAttributes |
Gets or sets the attribute dictionary. |
| DocumentUrl |
Gets the URL of the PDF document. |
| ExposedBindings | (Inherited from NSObject) |
| FoundSelectionKey |
Represents the value associated with the constant 'PDFDocumentFoundSelectionKey'. |
| GetClassForAnnotationClass | |
| GetClassForAnnotationType |
Delegate invoked by the object to get a value. |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsEncrypted |
Gets a Boolean value that tells whether the document is encrypted. |
| IsFinding |
Gets a Boolean value that tells whether the document is currently searching for text. |
| IsLocked |
Gets a Boolean value that tells whether the document is locked. |
| IsProxy | (Inherited from NSObject) |
| MajorVersion |
Gets the major version number of the document. |
| MinorVersion |
Gets the minor version of the document. |
| OutlineRoot |
Gets or sets the root outline object. |
| PageClass |
Gets the class (Objective-C type) of pages in the document. |
| PageCount |
Gets the number of pages in the document. |
| PageIndexKey |
Represents the value associated with the constant 'PDFDocumentPageIndexKey'. |
| PageType |
Gets the .NET type of page objects in this document. |
| PermissionsStatus | |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| Text |
Gets a linefeed-separated, page-oriented string that contains the entire textual content of the PDF document. |
| WeakDelegate |
An object that can respond to the delegate protocol for this type |
| Zone | (Inherited from NSObject) |
Methods
Events
| Name | Description |
|---|---|
| DidBeginDocumentFind |
Event raised by the object. |
| DidMatchString |
Event raised by the object. |
| DidUnlock |
Event raised by the object. |
| FindFinished |
Event raised by the object. |
| MatchFound |
Event raised by the object. |
| PageFindFinished |
Event raised by the object. |
| PageFindStarted |
Event raised by the object. |