ImageGear for .NET
Rasterize(Int32,Int32,Int32) Method




The bit depth of resulting raster page.
This parameter specifies the horizontal resolution in dots-per-inch during the vector page 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 vector page 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 provided bit depth and resolution parameters.
Syntax
'Declaration
 
<PermissionSetAttribute(File="", 
   UnicodeEncoded=False, 
   Name="FullTrust", 
   XML="", 
   Hex="", 
   Action=SecurityAction.Demand Or  _
    SecurityAction.Assert, 
   Unrestricted=False)>
Public Overloads Overrides NotOverridable Function Rasterize( _
   ByVal bitDepth As Integer, _
   ByVal resolutionX As Integer, _
   ByVal resolutionY As Integer _
) As ImGearRasterPage
'Usage
 
Dim instance As ImGearVectPage
Dim bitDepth As Integer
Dim resolutionX As Integer
Dim resolutionY As Integer
Dim value As ImGearRasterPage
 
value = instance.Rasterize(bitDepth, resolutionX, resolutionY)
[PermissionSetAttribute(File="", 
   UnicodeEncoded=false, 
   Name="FullTrust", 
   XML="", 
   Hex="", 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert, 
   Unrestricted=false)]
public override ImGearRasterPage Rasterize( 
   int bitDepth,
   int resolutionX,
   int resolutionY
)
[PermissionSetAttribute(File="", 
   UnicodeEncoded=false, 
   Name="FullTrust", 
   XML="", 
   Hex="", 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert, 
   Unrestricted=false)]
public: ImGearRasterPage* Rasterize( 
   int bitDepth,
   int resolutionX,
   int resolutionY
) override 
[PermissionSetAttribute(File="", 
   UnicodeEncoded=false, 
   Name="FullTrust", 
   XML="", 
   Hex="", 
   Action=SecurityAction.Demand | 
    SecurityAction.Assert, 
   Unrestricted=false)]
public:
ImGearRasterPage^ Rasterize( 
   int bitDepth,
   int resolutionX,
   int resolutionY
) override 

Parameters

bitDepth
The bit depth of resulting raster page.
resolutionX
This parameter specifies the horizontal resolution in dots-per-inch during the vector page 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 vector page 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 instance with rasterized vector data.
Remarks
The parameter bitDepth is ignored. The DIB of output raster image, depending on actual vector file format, will have either Indexed color space with 8 bit per pixel depth, or RGB color space with 24 bits per pixel depth.
See Also

Reference

ImGearVectPage Class
ImGearVectPage Members
Overload List
ImGearRasterPage Class

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback