MonobjcMonobjc Documented Class Library
IsEncrypted Method (document)
NamespacesMonobjc.ApplicationServicesCGPDFDocumentIsEncrypted(IntPtr)

Returns whether the specified PDF file is encrypted.

Original signature is 'bool CGPDFDocumentIsEncrypted ( CGPDFDocumentRef document );'

Available in Mac OS X version 10.2 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool IsEncrypted(
	IntPtr document
)
Public Shared Function IsEncrypted ( _
	document As IntPtr _
) As Boolean
public:
static bool IsEncrypted(
	IntPtr document
)
Parameters
document (IntPtr)
MISSING
Return Value
A Boolean that, if true, indicates that the document is encrypted. If the value is false, the document is not encrypted.
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)