ImageGear for .NET
Rasterize(ImGearDoublePoint,ImGearSize,Int32,Double,Double) Method
See Also  Send Feedback
ImageGear21.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFPage Class > Rasterize Method : Rasterize(ImGearDoublePoint,ImGearSize,Int32,Double,Double) Method




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.

Glossary Item Box

Rasterizes a portion of the page using the provided parameters.

Syntax

 
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.

Remarks

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.

See Also

©2013. Accusoft Corporation. All Rights Reserved.