INImage.FromImage Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
FromImage(CGImage) |
Metodo factory statico per creare un oggetto INImage da un CGImageoggetto . |
FromImage(UIImage) |
Metodo factory statico per creare un oggetto INImage da un UIImageoggetto . |
FromImage(CGImage)
[Foundation.Export("imageWithCGImage:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Intents.INImage FromImage (CoreGraphics.CGImage image);
static member FromImage : CoreGraphics.CGImage -> Intents.INImage
Parametri
- image
- CGImage
Restituisce
- Attributi
Si applica a
FromImage(UIImage)
[Foundation.Export("imageWithUIImage:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Intents.INImage FromImage (UIKit.UIImage image);
static member FromImage : UIKit.UIImage -> Intents.INImage
Parametri
- image
- UIImage
Restituisce
- Attributi