LEADTOOLS Raster Imaging C++ Class Library Help > LEADTOOLS Raster Imaging Features > Loading and Saving Images > Used Structures > rasterizedoc_unit |
typedef enum
{
RASTERIZEDOC_UNIT_PIXEL,
RASTERIZEDOC_UNIT_INCH,
RASTERIZEDOC_UNIT_MILLIMETER
} RASTERIZEDOC_UNIT;
The RASTERIZEDOC_UNIT enumeration is used to specify the unit of a document page width, height or margins. By using this enumeration, you can define document (logical) size in pixels, inches or millimeters.
Member |
Description |
RASTERIZEDOC_UNIT_PIXEL |
The page width, height or margins are in pixels. |
RASTERIZEDOC_UNIT_INCH |
The page width, height or margins are in inches. |
RASTERIZEDOC_UNIT_MILLIMETER |
The page width, height or margins are in millimeters. |
Comments
The RASTERIZEDOC_UNIT enumeration is used as the value for the following structure members:
Structure Member |
Units |
FILEINFO.uDocUnit |
As the units for FILEINFO.dDocPageWidth and FILEINFO.dDocPageHeight. |
RASTERIZEDOCOPTIONS.uUnit |
As the units for RASTERIZEDOCOPTIONS.dPageWidth, RASTERIZEDOCOPTIONS.dPageHeight, RASTERIZEDOCOPTIONS.dLeftMargin, RASTERIZEDOCOPTIONS.dTopMargin, RASTERIZEDOCOPTIONS.dRightMargin, RASTERIZEDOCOPTIONS.dBottomMargin |