MonobjcMonobjc Documented Class Library
kCGPDFContextOwnerPassword Field
NamespacesMonobjc.ApplicationServicesCGPDFContextkCGPDFContextOwnerPassword

The owner password of the PDF document. If this key is specified, the document is encrypted using the value as the owner password; otherwise, the document will not be encrypted. The value of this key must be a CFString object that can be represented in ASCII encoding. Only the first 32 bytes are used for the password. There is no default value for this key. If the value of this key cannot be represented in ASCII, the document is not created and the creation function returns NULL.

Available in Mac OS X v10.4 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static readonly NSString kCGPDFContextOwnerPassword
Public Shared ReadOnly kCGPDFContextOwnerPassword As NSString
public:
static initonly NSString^ kCGPDFContextOwnerPassword
Version Information
  • Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)

Assembly: Monobjc.AppKit (Module: Monobjc.AppKit)