UIGraphics.GetImageFromCurrentImageContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the contents of the current context as an image.
public static UIKit.UIImage GetImageFromCurrentImageContext ();
static member GetImageFromCurrentImageContext : unit -> UIKit.UIImage
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.
Developers can call this method from any thread.