Share via


CGDataConsumer Class

Definition

Data sink for CGContextPDF or CGImageDestination to store data on.

public class CGDataConsumer : CoreFoundation.NativeObject
type CGDataConsumer = class
    inherit NativeObject
Inheritance

Constructors

Name Description
CGDataConsumer(NSMutableData)

Creates a data sink that saves the data on the specified NSData.

CGDataConsumer(NSUrl)

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

Properties

Name Description
Handle (Inherited from DisposableObject)
Owns (Inherited from DisposableObject)

Methods

Name Description
ClearHandle() (Inherited from DisposableObject)
Dispose() (Inherited from DisposableObject)
Dispose(Boolean) (Inherited from NativeObject)
Equals(Object) (Inherited from DisposableObject)
GetCheckedHandle() (Inherited from DisposableObject)
GetHashCode() (Inherited from DisposableObject)
InitializeHandle(NativeHandle) (Inherited from DisposableObject)
Release()
Retain()

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to