CGImageSource.FromDataProvider 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
FromDataProvider(CGDataProvider, CGImageOptions) |
Creates an image loader using a dynamic data provider. |
FromDataProvider(CGDataProvider) |
Creates an image loader using a dynamic data provider. |
FromDataProvider(CGDataProvider, CGImageOptions)
Creates an image loader using a dynamic data provider.
public static ImageIO.CGImageSource FromDataProvider (CoreGraphics.CGDataProvider provider, ImageIO.CGImageOptions options);
static member FromDataProvider : CoreGraphics.CGDataProvider * ImageIO.CGImageOptions -> ImageIO.CGImageSource
Parameters
- provider
- CGDataProvider
Dynamic data provider.
- options
- CGImageOptions
Image creation options.
Returns
Applies to
FromDataProvider(CGDataProvider)
Creates an image loader using a dynamic data provider.
public static ImageIO.CGImageSource FromDataProvider (CoreGraphics.CGDataProvider provider);
static member FromDataProvider : CoreGraphics.CGDataProvider -> ImageIO.CGImageSource
Parameters
- provider
- CGDataProvider
Dynamic data provider.