ImageGear v26.0 - Updated
Export(ImGearRasterPage,Int32,Int32) Method




ImageGear.Core Assembly > ImageGear.Processing Namespace > ImGearRasterProcessing Class > Export Method : Export(ImGearRasterPage,Int32,Int32) Method
Raster page to be exported.
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 ppmX As Integer, _
   ByVal ppmY As Integer _
) As Bitmap
'Usage
 
Dim page As ImGearRasterPage
Dim ppmX As Integer
Dim ppmY As Integer
Dim value As Bitmap
 
value = ImGearRasterProcessing.Export(page, ppmX, ppmY)
public static Bitmap Export( 
   ImGearRasterPage page,
   int ppmX,
   int ppmY
)
public: static Bitmap* Export( 
   ImGearRasterPage* page,
   int ppmX,
   int ppmY
) 
public:
static Bitmap^ Export( 
   ImGearRasterPage^ page,
   int ppmX,
   int ppmY
) 

Parameters

page
Raster page to be exported.
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
Since Bitmap stores pixels in RGB or Indexed format only, color space conversion is used to transfer image data.
Example
See Also

Reference

ImGearRasterProcessing Class
ImGearRasterProcessing Members
Overload List
ImGearRasterPage Class
ExportPageToBitmap Method

Is this page helpful?
Yes No
Thanks for your feedback.