UIKit.UIImage.CGImage Property
The underlying image data. Read-only.

Syntax

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

Value

Remarks

This property may be null if the UIImage object was initialized with a CoreImage.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: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0