.NET Framework Class Library
BitmapSource..::.Create Method

Creates a new BitmapSource that has the specified properties and options.

Overload List

  NameDescription
Public methodStatic memberCreate(Int32, Int32, Double, Double, PixelFormat, BitmapPalette, Array, Int32)Creates a new BitmapSource from an array of pixels.
Public methodStatic memberCreate(Int32, Int32, Double, Double, PixelFormat, BitmapPalette, IntPtr, Int32, Int32)Creates a new BitmapSource from an array of pixels that are stored in unmanaged memory.
Top
See Also

Reference

Tags :


Community Content

tilakrajchandan
Exceptions
Do we have exception list thrown by this method.

In my case System.ArgumentException is thrown, it says, there is not buffer size.

I have checked, and didnot found an easy way to supress that.

It would be good, if description of exception list and their cause are added to this page

Page view tracker