SpreadsheetGear 2023
GetBitmap() Method


SpreadsheetGear.Windows.Media Namespace > Image Class > GetBitmap Method : GetBitmap() Method
Creates and returns a new bitmap image of the represented range or shape using PixelFormat.Bgra32.
Syntax
'Declaration
 
Public Overloads Function GetBitmap() As System.Windows.Media.Imaging.BitmapSource
'Usage
 
Dim instance As Image
Dim value As System.Windows.Media.Imaging.BitmapSource
 
value = instance.GetBitmap()
public System.Windows.Media.Imaging.BitmapSource GetBitmap()

Return Value

A new bitmap image of the represented range or shape using PixelFormat.Bgra32.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Image Class
Image Members
Overload List