Visual Basic
C#
Managed Extensions for C++
C++/CLI
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.This method is designed to be used for tiled PDF rasterization as illustrated below:
If the size of the area exceeds the size of the page in the output raster pixel coordinates, it will be partially blacked.