CustomImageSourceBase Methods

The CustomImageSourceBase type exposes the following members.

  Name Description
Public method Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Protected method Dispose(Boolean)
Called by the Dispose() method.
Public method Static member FromColor
Converts a Color into an integer.
Public method GetBitmapAsync
Creates a Bitmap from the contents of the image provider.
Public method GetInfoAsync
This method is no longer supported and should not be called. See remarks.
Public method Invalidate
Requests a reloading of the image source during the next load or render operation.
Public method Lock
This method is no longer supported and should not be called. See remarks.
Protected method OnLoadAsync
Called when the image source should load and prepare for rendering.
Protected method OnProcess
Called when the image source is asked to generate a rectangular area of the image.
Public method PreloadAsync
This method is no longer supported and should not be called. See remarks.

  Name Description
Public Extension Method AsAnimationFrame
Returns an AnimationFrame with the specified IImageProvider as its source and the specified frame duration.
(Defined by ImageProviderExtensions.)
Public Extension Method GetBitmapAsync
Creates a WriteableBitmap with the contents of the image provider.
(Defined by ImageProviderExtensions.)
Public Extension Method Then<TImageConsumer>
Enables a fluid way of chaining multiple IImageProvider objects and IImageConsumer objects.
(Defined by ImageProviderExtensions.)

  Name Description
Explicit interface implemetation Private method ICustomImageSource::LoadAsync
Load/prepare for rendering.
Show: