Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
BitmapSource Class
Create Method
Collapse All/Expand All Collapse All
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
BitmapSource..::.Create Method

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

  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
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Exceptions      tilakrajchandan   |   Edit   |   Show History
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
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker