iOS Guides | Samples

MonoTouch.UIKit.UIImage.FromImage Method

Creates a new image oject from a Quartz image.

Syntax

[MonoTouch.Foundation.Export("imageWithCGImage:")]
[MonoTouch.ObjCRuntime.ThreadSafe]
public static UIImage FromImage (CGImage image)

Parameters

image
Contains the Quartz image to use.

Returns

A new image object, or null if the image cannot be created.

Remarks

This can be used from a background thread.

Requirements

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