'Declaration
Public Overloads Function GetBitmap( _ ByVal pixelFormat As System.Windows.Media.PixelFormat _ ) As System.Windows.Media.Imaging.BitmapSource
'Usage
Dim instance As Image Dim pixelFormat As System.Windows.Media.PixelFormat Dim value As System.Windows.Media.Imaging.BitmapSource value = instance.GetBitmap(pixelFormat)
public System.Windows.Media.Imaging.BitmapSource GetBitmap( System.Windows.Media.PixelFormat pixelFormat )
public function GetBitmap( pixelFormat: System.Windows.Media.PixelFormat ): System.Windows.Media.Imaging.BitmapSource;
public function GetBitmap( pixelFormat : System.Windows.Media.PixelFormat ) : System.Windows.Media.Imaging.BitmapSource;
public: System.Windows.Media.Imaging.BitmapSource* GetBitmap( System.Windows.Media.PixelFormat pixelFormat )
public: System.Windows.Media.Imaging.BitmapSource^ GetBitmap( System.Windows.Media.PixelFormat pixelFormat )
Parameters
- pixelFormat
- Specifies the pixel format to use when creating the bitmap.
Return Value
A new bitmap image of the represented range or shape using the specified pixel format.