Visual Basic
C#
Managed Extensions for C++
C++/CLI
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
ImGearRasterPage class instance with rasterized vector data.The support level for parameter bitDepth depends on each particular vector format, i.e it may either just ignore it, or consider limited set of bit depths. Please see below the table of Vector formats, that describes how they handle the parameter bitDepth.
File Format | bitDepth supported | Remarks |
---|---|---|
Adobe PDF/Adobe PS | Yes | Supported values: 1, 8 and 24. |
Computer Graphics Metafile (SGM) | No | Uses 8 bit Indexed or 24 bit RGB color space. |
MicroStation Drawing (DGN) | No | Uses 8 bit Indexed or 24 bit RGB color space. |
Design Web Format (DWF) | No | Uses 24 bit RGB color space. |
AutoDesk AutoCAD (DWG) | No | Uses 8 bit Indexed or 24 bit RGB color space. |
Drawing eXchange Format (DXF) | No | Uses 8 bit Indexed or 24 bit RGB color space. |
Hewlett Packard Graphics Language (HPGL) | No | Uses 8 bit Indexed or 24 bit RGB color space. |
Universal 3D (U3D) | No | Uses 24 bit RGB color space. |
XML Paper Specification (XPS) | No | Uses 32 bit RGBA color space. |
Scalable Vector Graphics (SVG) | Yes | Supported values: 24 and 32. |
Office Open XML Word (DOCX) | No | Uses 24 bit RGB color space. |
Office Open XML Excel (XLSX) | No | Uses 24 bit RGB color space. |
Office Open XML PowerPoint (PPTX) | No | Uses 24 bit RGB color space. |