ImageGear for .NET
Export(ImGearRasterPage,ImGearRGBQuad,Int32,Int32) Method




Page to be exported.
Background pixel to blend exporting page with. It's used only if given page contains alpha or premultiplied alpha channel.
Specifies horizontal resolution of resulting GDI+ bitmap object. Measurement unit is PPM, i.e., pixels per meter.
Specifies vertical resolution of resulting GDI+ bitmap object. Measurement unit is PPM, i.e., pixels per meter.
Exports content of raster page to managed GDI+ image.
Syntax
'Declaration
 
Public Overloads Shared Function Export( _
   ByVal page As ImGearRasterPage, _
   ByVal backgroundColor As ImGearRGBQuad, _
   ByVal ppmX As Integer, _
   ByVal ppmY As Integer _
) As Bitmap
'Usage
 
Dim page As ImGearRasterPage
Dim backgroundColor As ImGearRGBQuad
Dim ppmX As Integer
Dim ppmY As Integer
Dim value As Bitmap
 
value = ImGearRasterProcessing.Export(page, backgroundColor, ppmX, ppmY)
public static Bitmap Export( 
   ImGearRasterPage page,
   ImGearRGBQuad backgroundColor,
   int ppmX,
   int ppmY
)
public: static Bitmap* Export( 
   ImGearRasterPage* page,
   ImGearRGBQuad backgroundColor,
   int ppmX,
   int ppmY
) 
public:
static Bitmap^ Export( 
   ImGearRasterPage^ page,
   ImGearRGBQuad backgroundColor,
   int ppmX,
   int ppmY
) 

Parameters

page
Page to be exported.
backgroundColor
Background pixel to blend exporting page with. It's used only if given page contains alpha or premultiplied alpha channel.
ppmX
Specifies horizontal resolution of resulting GDI+ bitmap object. Measurement unit is PPM, i.e., pixels per meter.
ppmY
Specifies vertical resolution of resulting GDI+ bitmap object. Measurement unit is PPM, i.e., pixels per meter.

Return Value

An instance of System.Drawing.Bitmap class.
Remarks
Exports an image of the given page to GDI+ image. If the incoming page contains an alpha or a premultiplied alpha channel, background pixel is used to blend the image with.

Since Bitmap stores pixels in RGB or Indexed format only, color space conversion is used to transfer image data.

See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List
ImGearRasterPage Class
ImGearRGBQuad Structure
ExportPageToBitmap(ImGearPage) Method

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback