iOS Guides | Samples

CoreGraphics.CGDataConsumer Class

Data sink for CGContextPDF or CGImageDestination to store data on.

See Also: CGDataConsumer

Syntax

public class CGDataConsumer : INativeObject, IDisposable

Requirements

Namespace: CoreGraphics
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of CoreGraphics.CGDataConsumer are listed below.

See Also: Object

Public Constructors

Creates a data sink that saves the data on the specified NSData.
Creates a data sink that saves the data on a file specified by the url.

Public Properties

[read-only]
HandleIntPtr. Handle (pointer) to the unmanaged object representation.

Public Methods

Dispose()
Releases the resources used by the CGDataConsumer object.
Finalize()
Finalizer for the CGDataConsumer object

Protected Methods

Dispose(Boolean)
Releases the resources used by the CGDataConsumer object.