ImageGear PDF v25.2 - Updated
Rasterize(Int32,Int32,Int32) Method




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFPage Class > Rasterize Method : Rasterize(Int32,Int32,Int32) Method
This parameter specifies bit depth in bits-per-pixel during the PDF document conversion into the raster image. The greater this value, the higher the quality of the raster image you get and the more memory required for rasterization. The DIB of the output raster image has this value as a bit count. Available values: 1, 8, 24.
This parameter specifies the horizontal resolution in dots-per-inch during the PDF document conversion into a raster image. The greater this value, the higher the quality of the raster image you get after rasterization. The DIB of the output raster image has this value as an X resolution.
This parameter specifies the vertical resolution in dots-per-inch during the PDF document conversion into the raster image. The greater this value, the higher the quality of the raster image you get after rasterization. The DIB of the output raster image has this value as an Y resolution.
Rasterizes the page using the provided parameters.
Syntax
'Declaration
 
Public Overloads Overrides NotOverridable Function Rasterize( _
   ByVal bitDepth As Integer, _
   ByVal resolutionX As Integer, _
   ByVal resolutionY As Integer _
) As ImGearRasterPage
'Usage
 
Dim instance As ImGearPDFPage
Dim bitDepth As Integer
Dim resolutionX As Integer
Dim resolutionY As Integer
Dim value As ImGearRasterPage
 
value = instance.Rasterize(bitDepth, resolutionX, resolutionY)
public override ImGearRasterPage Rasterize( 
   int bitDepth,
   int resolutionX,
   int resolutionY
)
public: ImGearRasterPage* Rasterize( 
   int bitDepth,
   int resolutionX,
   int resolutionY
) override 
public:
ImGearRasterPage^ Rasterize( 
   int bitDepth,
   int resolutionX,
   int resolutionY
) override 

Parameters

bitDepth
This parameter specifies bit depth in bits-per-pixel during the PDF document conversion into the raster image. The greater this value, the higher the quality of the raster image you get and the more memory required for rasterization. The DIB of the output raster image has this value as a bit count. Available values: 1, 8, 24.
resolutionX
This parameter specifies the horizontal resolution in dots-per-inch during the PDF document conversion into a raster image. The greater this value, the higher the quality of the raster image you get after rasterization. The DIB of the output raster image has this value as an X resolution.
resolutionY
This parameter specifies the vertical resolution in dots-per-inch during the PDF document conversion into the raster image. The greater this value, the higher the quality of the raster image you get after rasterization. The DIB of the output raster image has this value as an Y resolution.

Return Value

ImageGear.Core.ImGearRasterPage class with rasterized vector data.
See Also

Reference

ImGearPDFPage Class
ImGearPDFPage Members
Overload List

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