Edit

Share via


CGContextPDF Constructors

Definition

Overloads

CGContextPDF(CGDataConsumer)
CGContextPDF(NSUrl)

Creates a new CGContext that records its commands into a PDF file with the mediaBox dimensions stored in the specified url.

CGContextPDF(CGDataConsumer, CGPDFInfo)
CGContextPDF(CGDataConsumer, CGRect)
CGContextPDF(NSUrl, CGPDFInfo)

Creates a new CGContext that records its commands into a PDF file in the specified url.

CGContextPDF(NSUrl, CGRect)

Creates a new CGContext that records its commands into a PDF file with the mediaBox dimensions stored in the specified url.

CGContextPDF(CGDataConsumer, CGRect, CGPDFInfo)
CGContextPDF(NSUrl, CGRect, CGPDFInfo)

CGContextPDF(CGDataConsumer)

public CGContextPDF (CoreGraphics.CGDataConsumer dataConsumer);
new CoreGraphics.CGContextPDF : CoreGraphics.CGDataConsumer -> CoreGraphics.CGContextPDF

Parameters

dataConsumer
CGDataConsumer

Applies to

CGContextPDF(NSUrl)

Creates a new CGContext that records its commands into a PDF file with the mediaBox dimensions stored in the specified url.

public CGContextPDF (Foundation.NSUrl url);
new CoreGraphics.CGContextPDF : Foundation.NSUrl -> CoreGraphics.CGContextPDF

Parameters

url
NSUrl

The PDF file will be stored in this url

Applies to

CGContextPDF(CGDataConsumer, CGPDFInfo)

public CGContextPDF (CoreGraphics.CGDataConsumer dataConsumer, CoreGraphics.CGPDFInfo info);
new CoreGraphics.CGContextPDF : CoreGraphics.CGDataConsumer * CoreGraphics.CGPDFInfo -> CoreGraphics.CGContextPDF

Parameters

dataConsumer
CGDataConsumer
info
CGPDFInfo

Applies to

CGContextPDF(CGDataConsumer, CGRect)

public CGContextPDF (CoreGraphics.CGDataConsumer dataConsumer, CoreGraphics.CGRect mediaBox);
new CoreGraphics.CGContextPDF : CoreGraphics.CGDataConsumer * CoreGraphics.CGRect -> CoreGraphics.CGContextPDF

Parameters

dataConsumer
CGDataConsumer
mediaBox
CGRect

Applies to

CGContextPDF(NSUrl, CGPDFInfo)

Creates a new CGContext that records its commands into a PDF file in the specified url.

public CGContextPDF (Foundation.NSUrl url, CoreGraphics.CGPDFInfo info);
new CoreGraphics.CGContextPDF : Foundation.NSUrl * CoreGraphics.CGPDFInfo -> CoreGraphics.CGContextPDF

Parameters

url
NSUrl

The PDF file will be stored in this url

info
CGPDFInfo

PDF Configuration options

Applies to

CGContextPDF(NSUrl, CGRect)

Creates a new CGContext that records its commands into a PDF file with the mediaBox dimensions stored in the specified url.

public CGContextPDF (Foundation.NSUrl url, CoreGraphics.CGRect mediaBox);
new CoreGraphics.CGContextPDF : Foundation.NSUrl * CoreGraphics.CGRect -> CoreGraphics.CGContextPDF

Parameters

url
NSUrl

The PDF file will be stored in this url

mediaBox
CGRect

The size of the media box to generate, specified in points.

Applies to

CGContextPDF(CGDataConsumer, CGRect, CGPDFInfo)

public CGContextPDF (CoreGraphics.CGDataConsumer dataConsumer, CoreGraphics.CGRect mediaBox, CoreGraphics.CGPDFInfo info);
new CoreGraphics.CGContextPDF : CoreGraphics.CGDataConsumer * CoreGraphics.CGRect * CoreGraphics.CGPDFInfo -> CoreGraphics.CGContextPDF

Parameters

dataConsumer
CGDataConsumer
mediaBox
CGRect
info
CGPDFInfo

Applies to

CGContextPDF(NSUrl, CGRect, CGPDFInfo)

public CGContextPDF (Foundation.NSUrl url, CoreGraphics.CGRect mediaBox, CoreGraphics.CGPDFInfo info);
new CoreGraphics.CGContextPDF : Foundation.NSUrl * CoreGraphics.CGRect * CoreGraphics.CGPDFInfo -> CoreGraphics.CGContextPDF

Parameters

url
NSUrl
mediaBox
CGRect
info
CGPDFInfo

Applies to