ImageGear21.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class : ExportPageToBitmap(ImGearPage) Method |
System.Drawing.Bitmap
, in one of the following formats, supported by System.Drawing.Bitmap
: 1bpp Indexed, 4bpp Indexed, 8bpp Indexed, 24bpp RGB, 48bpp RGB, 64bpp ARGB.'Declaration Public Shared Function ExportPageToBitmap( _ ByVal page As ImGearPage _ ) As Bitmap
'Usage Dim page As ImGearPage Dim value As Bitmap value = ImGearFileFormats.ExportPageToBitmap(page)
public static Bitmap ExportPageToBitmap( ImGearPage page )
public: static Bitmap* ExportPageToBitmap( ImGearPage* page )
public: static Bitmap^ ExportPageToBitmap( ImGearPage^ page )
System.Drawing.Bitmap
class object, containing exported image.System.Drawing.Bitmap
. If source image contains Alpha channel, the method preserves it.
Due to a limitation in Microsoft .Net framework, the method exports 9-16bpp grayscale images to 48bpp RGB format rather than to 16bpp Grayscale.