CGImageSource.FromData 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.
Overloads
| Name | Description |
|---|---|
| FromData(NSData) |
Creates an image loader from the block of bytes. |
| FromData(NSData, CGImageOptions) |
Creates an image loader from the block of bytes. |
FromData(NSData)
Creates an image loader from the block of bytes.
public static ImageIO.CGImageSource? FromData(Foundation.NSData data);
static member FromData : Foundation.NSData -> ImageIO.CGImageSource
Parameters
- data
- NSData
Block of bytes containing the image.
Returns
Applies to
FromData(NSData, CGImageOptions)
Creates an image loader from the block of bytes.
public static ImageIO.CGImageSource? FromData(Foundation.NSData data, ImageIO.CGImageOptions? options);
static member FromData : Foundation.NSData * ImageIO.CGImageOptions -> ImageIO.CGImageSource
Parameters
- data
- NSData
Block of bytes containing the image.
- options
- CGImageOptions
Image creation options.