iOS Guides | Samples

MonoTouch.UIKit.UIImage.CGImage Property

The underlying image data. Read-only.

Syntax

[MonoTouch.ObjCRuntime.ThreadSafe]
[get: MonoTouch.Foundation.Export("CGImage")]
public virtual CGImage CGImage { get; }

Value

Remarks

This property may be null if the UIImage object was initialized with a CIImage object. If the underlying image data was purged, then accessing this property will force the underlying image to be reloaded from the source.

This can be used from a background thread.

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0