UIGraphicsImageRenderer.CreateJpeg 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 NSData whose content is a JPEG representation of the current graphics context.
[Foundation.Export("JPEGDataWithCompressionQuality:actions:")]
public virtual Foundation.NSData CreateJpeg (nfloat compressionQuality, Action<UIKit.UIGraphicsImageRendererContext> actions);
abstract member CreateJpeg : nfloat * Action<UIKit.UIGraphicsImageRendererContext> -> Foundation.NSData
override this.CreateJpeg : nfloat * Action<UIKit.UIGraphicsImageRendererContext> -> Foundation.NSData
Parameters
- compressionQuality
- nfloat
- actions
- Action<UIGraphicsImageRendererContext>
Returns
- Attributes