ImageGear for .NET
ExportPageToBitmap(ImGearPage) Method
See Also  Send Feedback
ImageGear21.Core Assembly > ImageGear.Formats Namespace > ImGearFileFormats Class : ExportPageToBitmap(ImGearPage) Method




page
Page to export.

Glossary Item Box

Exports a 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.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

page
Page to export.

Return Value

System.Drawing.Bitmap class object, containing exported image.

Remarks

The method does not apply any processing to the image. It only converts image pixel format, if source format is not supported by 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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.