UIKit.UIGraphics.GetImageFromCurrentImageContext Method
Returns the contents of the current context as an image.

Syntax

public static UIImage GetImageFromCurrentImageContext ()

Returns

An image, or null on error

Remarks

This method is only valid if the current context (the context at the top of the stack) is an image context.

This function can only be invoked from the UI thread.

Requirements

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