Edytuj

Udostępnij za pośrednictwem


UIGraphicsImageRenderer.CreateJpeg Method

Definition

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

Returns

Attributes

Applies to