Edit

Share via


CGPDFDocument Class

Definition

PDF Document.

public class CGPDFDocument : IDisposable, ObjCRuntime.INativeObject
type CGPDFDocument = class
    interface INativeObject
    interface IDisposable
Inheritance
CGPDFDocument
Implements

Constructors

CGPDFDocument(CGDataProvider)

Creates a CGPDFDocument from a data provider, typically an array of bytes.

CGPDFDocument(IntPtr)

Properties

AllowsCopying

Gets whether this CGPDFDocument object allows copying.

AllowsPrinting

Gets whether this CGPDFDocument object allows printing.

Handle

Handle (pointer) to the unmanaged object representation.

IsEncrypted

Gets whether this CGPDFDocument object is encrypted.

IsUnlocked

Gets whether the this CGPDFDocument object is not locked, either because the object is not encrypted or a password has been supplied.

Pages

Methods

Dispose()

Releases the resources used by the CGPDFDocument object.

Dispose(Boolean)

Releases the resources used by the CGPDFDocument object.

Finalize()

Finalizer for the CGPDFDocument object

FromFile(String)
FromUrl(String)
GetAccessPermissions()
GetCatalog()

Gets the catalog for this CGPDFDocument object.

GetInfo()

Gets information for this CGPDFDocument as a CGPDFDictionary dictionary.

GetOutline()
GetPage(nint)

Gets a specific page of this CGPDFDocument object.

GetVersion(Int32, Int32)

Gets the version of this CGPDFDocument object, including the major and minor version numbers.

SetOutline(CGPDFOutlineOptions)
Unlock(String)

Applies to

See also