MonobjcMonobjc Documented Class Library
CGPDFContext Class
NamespacesMonobjc.ApplicationServicesCGPDFContext

[Missing <summary> documentation for "T:Monobjc.ApplicationServices.CGPDFContext"]

Declaration Syntax
C#Visual BasicVisual C++
public static class CGPDFContext
Public NotInheritable Class CGPDFContext
public ref class CGPDFContext abstract sealed
Members
All MembersMethodsFields



IconMemberDescription
AddDestinationAtPoint(IntPtr, NSString, CGPoint)

Sets a destination to jump to when a point in the current page of a PDF graphics context is clicked.

Original signature is 'void CGPDFContextAddDestinationAtPoint ( CGContextRef context, CFStringRef name, CGPoint point );'

Available in Mac OS X v10.4 and later.


BeginPage(IntPtr, NSDictionary)

Begins a new page in a PDF graphics context.

Original signature is 'void CGPDFContextBeginPage ( CGContextRef context, CFDictionaryRef pageInfo );'

Available in Mac OS X v10.4 and later.


Close(IntPtr)

Closes a PDF document.

Original signature is 'void CGPDFContextClose( CGContextRef context );'

Available in Mac OS X v10.5 and later.


Create(IntPtr, IntPtr, NSDictionary)

Creates a PDF graphics context.

Original signature is 'CGContextRef CGPDFContextCreate ( CGDataConsumerRef consumer, const CGRect *mediaBox, CFDictionaryRef auxiliaryInfo );'

Available in Mac OS X version 10.0 and later.


CreateWithURL(NSURL, IntPtr, NSDictionary)

Creates a URL-based PDF graphics context.

Original signature is 'CGContextRef CGPDFContextCreateWithURL ( CFURLRef url, const CGRect *mediaBox, CFDictionaryRef auxiliaryInfo );'

Available in Mac OS X version 10.0 and later.


EndPage(IntPtr)

Ends the current page in the PDF graphics context.

Original signature is 'void CGPDFContextEndPage ( CGContextRef context );'

Available in Mac OS X v10.4 and later.


kCGPDFContextAllowsCopying

Whether the document allows copying when unlocked with the user password. The value of this key must be a CFBoolean object. The default value of this key is kCFBooleanTrue.

Available in Mac OS X v10.4 and later.


kCGPDFContextAllowsPrinting

Whether the document allows printing when unlocked with the user password. The value of this key must be a CFBoolean value. The default value of this key is kCFBooleanTrue.

Available in Mac OS X v10.4 and later.


kCGPDFContextArtBox

The art box for the document or for a given page. This key is optional. If present, the value of this key must be a CFData object that contains a CGRect (stored by value, not by reference).

Available in Mac OS X v10.4 and later.


kCGPDFContextAuthor

The corresponding value is a string that represents the name of the person who created the document. This key is optional.

Available in Mac OS X v10.4 and later.


kCGPDFContextCreator

The corresponding value is a string that represents the name of the application used to produce the document. This key is optional.

Available in Mac OS X v10.4 and later.


kCGPDFContextEncryptionKeyLength

The encryption key length in bits; see Table 3.18 "Entries common to all encryption dictionaries", PDF Reference: Adobe PDF version 1.5 (4th ed.) for more information. Optional; if present, the value of this key must be a CFNumber object with value which is a multiple of 8 between 40 and 128, inclusive. If this key is absent or invalid, the encryption key length defaults to 40 bits.

Declared in CGPDFContext.h.

Available in Mac OS X v10.5 and later.


kCGPDFContextKeywords

The keywords for this document. This key is optional. If the value of this key is a CFString object, the /Keywords entry will be the specified string. If the value of this key is a CFArray object, then it must be an array of CFString objects. The /Keywords entry will, in this case, be the concatenation of the specified strings separated by commas (","). In addition, an entry with the key "/AAPL:Keywords" is stored in the document information dictionary; its value is an array consisting of each of the specified strings. The value of this key must be in one of the above forms; otherwise, this key is ignored.

Declared in CGPDFContext.h.

Available in Mac OS X v10.5 and later.


kCGPDFContextOutputIntent

The output intent PDF/X. This key is optional. If present, the value of this key must be a CFDictionary object. The dictionary is added to the /OutputIntents entry in the PDF file document catalog. The keys and values contained in the dictionary must match those specified in section 9.10.4 of the PDF 1.4 specification, ISO/DIS 15930-3 document published by ISO/TC 130, and Adobe Technical Note #5413.

Available in Mac OS X v10.4 and later.


kCGPDFContextOutputIntents

Output intent dictionaries. This key is optional. If present, the value must be an array of one or more kCGPDFContextOutputIntent dictionaries. The array is added to the PDF document in the /OutputIntents entry in the PDF file's document catalog. Each dictionary in the array must be of form specified for the kCGPDFContextOutputIntent key, except that only the first dictionary in the array is required to contain the "S" key with a value of GTS_PDFX. If both the kCGPDFContextOutputIntent and kCGPDFContextOutputIntents keys are specified, the former is ignored.

Available in Mac OS X v10.4 and later.


kCGPDFContextOwnerPassword

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.


kCGPDFContextSubject

The subject of a document. Optional; if present, the value of this key must be a CFString object.

Declared in CGPDFContext.h.

Available in Mac OS X v10.5 and later.


kCGPDFContextTitle

The corresponding value is a string that represents the title of the document. This key is optional.

Available in Mac OS X v10.4 and later.


kCGPDFContextUserPassword

The user password of the PDF document. If the document is encrypted, then the value of this key will be the user password for the document. If not specified, the user password is the empty string. The value of this key must be a CFString object that can be represented in ASCII encoding; only the first 32 bytes will be used for the password. 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.


kCGPDFXDestinationOutputProfile

An ICC profile stream defining the transformation from the PDF document's source colors to output device colorants. This key is required if the value of kCGPDFXOutputConditionIdentifier does not specify a standard production condition. It is optional otherwise. If present, the value of this key must be an ICC-based color space specified as a CGColorSpace object.

Available in Mac OS X v10.4 and later.


kCGPDFXInfo

A human-readable text string containing additional information or comments about the intended target device or production condition. This key is required if the value of kCGPDFXOutputConditionIdentifier does not specify a standard production condition. It is optional otherwise. If present, the value of this key must be a CFString object.

Available in Mac OS X v10.4 and later.


kCGPDFXOutputCondition

A text string identifying the intended output device or production condition in a human- readable form. This key is optional. If present, the value of this key must be a CFString object.

Available in Mac OS X v10.4 and later.


kCGPDFXOutputConditionIdentifier

A string identifying the intended output device or production condition in a human- or machine-readable form. This key is required. The value of this key must be a CFString object. For best results, the string should be restricted to characters in the ASCII character set.

Available in Mac OS X v10.4 and later.


kCGPDFXOutputIntentSubtype

The output intent subtype. This key is required. The value of this key must be a CFString object equal to "GTS_PDFX"; otherwise, the dictionary is ignored.

Available in Mac OS X v10.4 and later.


kCGPDFXRegistryName

A string identifying the registry in which the condition designated by kCGPDFXOutputConditionIdentifier is defined. This key is optional. If present, the value of this key must be a CFString object. For best results, the string should be lossless in ASCII encoding.

Available in Mac OS X v10.4 and later.


SetDestinationForRect(IntPtr, NSString, CGRect)

Sets a destination to jump to when a rectangle in the current PDF page is clicked.

Original signature is 'void CGPDFContextSetDestinationForRect ( CGContextRef context, CFStringRef name, CGRect rect );'

Available in Mac OS X v10.4 and later.


SetURLForRect(IntPtr, NSURL, CGRect)

Sets the URL associated with a rectangle in a PDF graphics context.

Original signature is 'void CGPDFContextSetURLForRect ( CGContextRef context, CFURLRef url, CGRect rect );'

Available in Mac OS X v10.4 and later.


Inheritance Hierarchy
Object
CGPDFContext
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)