IconFrame.IHandler

References
[AutoInitialize(false)] public interface IconFrame.IHandler
Handler interface for platform implementations of the IconFrame

Methods

Create

#
object Create(IconFrame frame, Bitmap bitmap)
Initializes a new instance of the IconFrame class.

Create

#
object Create(IconFrame frame, Func<Stream> load)
Initializes a new instance of the IconFrame class.
frame (IconFrame)Frame instance to create for.
load (Func<Stream>)Delegate to load the stream when the frame's data is required.

Create

#
object Create(IconFrame frame, Stream stream)
Initializes a new instance of the IconFrame class.
frame (IconFrame)Frame instance to create for.
stream (Stream)Stream for the bitmap data.

GetBitmap

#
Bitmap GetBitmap(IconFrame frame)
Gets the bitmap for this frame.
The frame's bitmap.
frame (IconFrame)Frame instance to get the bitmap for

GetPixelSize

#
Size GetPixelSize(IconFrame frame)
Gets the pixel size of the frame's bitmap
The size in pixels of the frame.
frame (IconFrame)Frame instance to get the pixel size for