TPDFlibPageRasterInfo
Data types
Description
Resolved pixel geometry, effective renderer, crop box and DPI telemetry for a page raster operation
Declaration
type
TPDFlibPageRasterInfo = record
RequestedRenderer, EffectiveRenderer: Integer;
RequestedCropType, EffectiveCropType: Integer;
RequestedOCGMode, EffectiveOCGMode: Integer;
PagePixelWidth, PagePixelHeight: Integer;
PageWidthPoints, PageHeightPoints: Double;
DPIMode: Integer;
UserUnit, RasterDPI, OutputDPI: Double;
PixelBounds: TRect;
Format: Integer;
end;Fields
| RequestedRenderer, EffectiveRenderer | Configured renderer ID and the renderer actually used |
|---|---|
| RequestedCropType, EffectiveCropType | Requested page box and the resolved page box |
| RequestedOCGMode, EffectiveOCGMode | Requested and applied optional-content visibility modes |
| PagePixelWidth, PagePixelHeight | Full page raster dimensions in pixels |
| PageWidthPoints, PageHeightPoints | Resolved page box size in PDF points |
| DPIMode, UserUnit, RasterDPI, OutputDPI | DPI scaling mode, page /UserUnit, internal rasterization DPI, and output metadata DPI |
| PixelBounds, Format | Rendered tile/page pixel rectangle and output image format |
See also
TPDFlibPageRasterOptions, RenderPageToStreamEx, RenderPageToFileEx