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, EffectiveRendererConfigured renderer ID and the renderer actually used
RequestedCropType, EffectiveCropTypeRequested page box and the resolved page box
RequestedOCGMode, EffectiveOCGModeRequested and applied optional-content visibility modes
PagePixelWidth, PagePixelHeightFull page raster dimensions in pixels
PageWidthPoints, PageHeightPointsResolved page box size in PDF points
DPIMode, UserUnit, RasterDPI, OutputDPIDPI scaling mode, page /UserUnit, internal rasterisation DPI, and output metadata DPI
PixelBounds, FormatRendered tile/page pixel rectangle and output image format

See also

TPDFlibPageRasterOptions, RenderPageToStreamEx, RenderPageToFileEx