ImageGear .NET
Rasterize(Double,Double) Method




This parameter specifies the horizontal resolution in dots-per-inch used for converting an Excel page into a raster image. The greater this value, the higher the quality of the raster image will be. The DIB of the output raster image will have this value as an X resolution.
This parameter specifies the vertical resolution in dots-per-inch used for converting an Excel page into a raster image. The greater this value, the higher the quality of the raster image will be. The DIB of the output raster image will have this value as an Y resolution.
Rasterizes the Excel sheet page using the provided parameters.
Syntax
'Declaration
 
Public Overloads Function Rasterize( _
   ByVal resolutionX As Double, _
   ByVal resolutionY As Double _
) As ImGearRasterPage
'Usage
 
Dim instance As ImGearExcelSheetPage
Dim resolutionX As Double
Dim resolutionY As Double
Dim value As ImGearRasterPage
 
value = instance.Rasterize(resolutionX, resolutionY)
public ImGearRasterPage Rasterize( 
   double resolutionX,
   double resolutionY
)
public: ImGearRasterPage* Rasterize( 
   double resolutionX,
   double resolutionY
) 
public:
ImGearRasterPage^ Rasterize( 
   double resolutionX,
   double resolutionY
) 

Parameters

resolutionX
This parameter specifies the horizontal resolution in dots-per-inch used for converting an Excel page into a raster image. The greater this value, the higher the quality of the raster image will be. The DIB of the output raster image will have this value as an X resolution.
resolutionY
This parameter specifies the vertical resolution in dots-per-inch used for converting an Excel page into a raster image. The greater this value, the higher the quality of the raster image will be. The DIB of the output raster image will have this value as an Y resolution.

Return Value

ImageGear.Core.ImGearRasterPage class with rasterized vector data.
Remarks

The DIB of output raster image will have an RGB color space with 24 bits per pixel depth.

See Also

Reference

ImGearExcelSheetPage Class
ImGearExcelSheetPage Members
Overload List

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback