UIGraphicsImageRenderer.CreatePng 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.
Renders the actions
UIGraphicsImageRenderer context as a PNG image.
[Foundation.Export("PNGDataWithActions:")]
public virtual Foundation.NSData CreatePng (Action<UIKit.UIGraphicsImageRendererContext> actions);
abstract member CreatePng : Action<UIKit.UIGraphicsImageRendererContext> -> Foundation.NSData
override this.CreatePng : Action<UIKit.UIGraphicsImageRendererContext> -> Foundation.NSData
Parameters
- actions
- Action<UIGraphicsImageRendererContext>
Returns
- Attributes