'Declaration Public Overloads Function Rasterize( _ ByVal location As ImGearDoublePoint, _ ByVal size As ImGearSize, _ ByVal bitDepth As Integer, _ ByVal resolutionX As Double, _ ByVal resolutionY As Double _ ) As ImGearRasterPage
'Usage Dim instance As ImGearPDFPage Dim location As ImGearDoublePoint Dim size As ImGearSize Dim bitDepth As Integer Dim resolutionX As Double Dim resolutionY As Double Dim value As ImGearRasterPage value = instance.Rasterize(location, size, bitDepth, resolutionX, resolutionY)
public ImGearRasterPage Rasterize( ImGearDoublePoint location, ImGearSize size, int bitDepth, double resolutionX, double resolutionY )
public: ImGearRasterPage* Rasterize( ImGearDoublePoint location, ImGearSize size, int bitDepth, double resolutionX, double resolutionY )
public: ImGearRasterPage^ Rasterize( ImGearDoublePoint location, ImGearSize size, int bitDepth, double resolutionX, double resolutionY )
Parameters
- location
- Specifies the coordinates of the upper-left corner of the area to be rasterized. The coordinates should be non-negative and provided in the output raster pixel units.
- size
- Specifies the size of the rasterized area. The size should be non-negative, non-zero and provided in the output raster pixel units. The output raster image DIB will have this value as a width and height.
- bitDepth
- Specifies bit depth value for PDF rasterization. The greater this value, the higher quality of the output raster image you get after rasterization. The output raster image DIB will have this value as a bit count. Available values: 1, 8, 24 and 32.
- resolutionX
- Specifies horizontal resolution value in dots-per-inch for PDF rasterization. The greater this value, the higher quality of the output raster image you get after rasterization. Must be positive.
- resolutionY
- Specifies vertical resolution value in dots-per-inch for PDF rasterization. The greater this value, the higher quality of the output raster image you get after rasterization. Must be positive.
Return Value
ImageGear.Core.ImGearRasterPage object representing the rasterized tile.