The RASTERPDFINFO structure provides information about a raster PDF file created with the PDF support available in the toolkits:
Size of the structure. This must be set before passing this structure to the LEAD functions. Use sizeof(RASTERPDFINFO) to calculate this value.
Flag that indicates whether the PDF file was saved with the PDF support available in the toolkits:
Value | Meaning |
---|---|
TRUE | The file was created with the PDF support available in the toolkits: |
LEADTOOLS PDF Pro | |
Pro Suite | |
Document and Medical | |
The other members of this structure are guaranteed to work. Also, LFile::DeletePage will work. | |
FALSE | The file was not created with the PDF support available in the toolkits: |
LEADTOOLS PDF Pro | |
Pro Suite | |
Document and Medical |
The bits/pixel of the raster image in PDF file. Horizontal display resolution in dots per inch. You can use it 0 to use the current screen horizontal resolution.
The format of the raster image in PDF file. Possible values are:
Value | Meaning |
---|---|
FILE_RAS_PDF | [146] Raster PDF uncompressed. |
FILE_RAS_PDF_G3_1D | [147] Raster PDF with G3 1D Compression. |
FILE_RAS_PDF_G3_2D | [148] Raster PDF with G3 2D Compression. |
FILE_RAS_PDF_G4 | [149] Raster PDF with G4 Compression. |
FILE_RAS_PDF_JPEG | [150] Raster PDF with JPEG 4:4:4 Compression. |
FILE_RAS_PDF_JPEG_422 | [151] Raster PDF with JPEG 4:2:2 Compression. |
FILE_RAS_PDF_JPEG_411 | [152] Raster PDF with JPEG 4:1:1 Compression. |
FILE_RAS_PDF_LZW | [179] Raster PDF with LZW Compression. |
FILE_RAS_PDF_JBIG2 | [188] Raster PDF with JBIG2 Compression. |
FILE_RAS_PDF_CMYK | [333] Raster PDF with uncompressed CMYK data. |
FILE_RAS_PDF_LZW_CMYK | [334] Raster PDF with LZW Compressed CMYK data. |
Width of the image, in pixels.
Height of the image, in pixels.
Horizontal resolution of the first image.
Vertical resolution of the first image.
Value that indicates the PDF file version. For possible values, refer to RASTERPDFVERSION.
pRASTERPDFINFO is a pointer to a RASTERPDFINFO structure.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document