'Declaration
Public Overloads Shared Function Export( _
ByVal As ImGearRasterPage, _
ByVal As ImGearRectangle, _
ByVal As ImGearRectangle, _
ByVal As ImGearRectangle, _
ByVal As ImGearInterpolationOptions, _
ByVal As ImGearRGBQuad, _
ByVal As Integer, _
ByVal As Integer _
) As Bitmap
'Usage
Dim page As ImGearRasterPage
Dim imageRect As ImGearRectangle
Dim deviceRect As ImGearRectangle
Dim clipRect As ImGearRectangle
Dim interpolationOptions As ImGearInterpolationOptions
Dim backgroundColor As ImGearRGBQuad
Dim ppmX As Integer
Dim ppmY As Integer
Dim value As Bitmap
value = ImGearRasterProcessing.Export(page, imageRect, deviceRect, clipRect, interpolationOptions, backgroundColor, ppmX, ppmY)
Parameters
- page
- Page to be exported.
- imageRect
- Part of image to export.
- deviceRect
- Output area onto which exported image part will be scaled.
- clipRect
- Interested part of device rectangle.
- interpolationOptions
- Interpolation method used to resize from image rectangle to device.
- backgroundColor
- Background pixel to blend exporting page with. It's used only if the
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
Instance of System.Drawing.Bitmap
class.