'Declaration Public Overloads Shared Function Export( _ ByVal page As ImGearRasterPage, _ ByVal imageRect As ImGearRectangle, _ ByVal deviceRect As ImGearRectangle, _ ByVal clipRect As ImGearRectangle, _ ByVal interpolationOptions As ImGearInterpolationOptions, _ ByVal backgroundColor As ImGearRGBQuad, _ ByVal ppmX As Integer, _ ByVal ppmY 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)
public static Bitmap Export( ImGearRasterPage page, ImGearRectangle imageRect, ImGearRectangle deviceRect, ImGearRectangle clipRect, ImGearInterpolationOptions interpolationOptions, ImGearRGBQuad backgroundColor, int ppmX, int ppmY )
public: static Bitmap* Export( ImGearRasterPage* page, ImGearRectangle imageRect, ImGearRectangle deviceRect, ImGearRectangle clipRect, ImGearInterpolationOptions* interpolationOptions, ImGearRGBQuad backgroundColor, int ppmX, int ppmY )
public: static Bitmap^ Export( ImGearRasterPage^ page, ImGearRectangle imageRect, ImGearRectangle deviceRect, ImGearRectangle clipRect, ImGearInterpolationOptions^ interpolationOptions, ImGearRGBQuad backgroundColor, int ppmX, int 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.