TPDFlibPageRasterOptions

Data types

Description

Explicit output format, background, crop box, optional-content and DPI policy settings for page rasterization

Declaration

type
  TPDFlibPageRasterOptions = record
    Format: Integer;
    BackgroundMode: Integer;
    BackgroundColor: Cardinal;
    CropType: Integer;
    OCGMode: Integer;
    Policy: Integer;
    DPIMode: Integer;
  end;

Fields

FormatOutput image format selector (such as BMP, JPEG, PNG, or TIFF)
BackgroundMode, BackgroundColorTile/page background fill mode and 32-bit RGB/ARGB background color
CropTypePage boundary box selector (MediaBox, CropBox, BleedBox, TrimBox, or ArtBox)
OCGModeOptional-content group visibility policy
PolicyRenderer fallback or strictness policy
DPIModePhysical or UserUnit-scaled DPI interpretation

See also

TPDFlibPageRasterInfo, RenderPageToStreamEx, RenderPageToFileEx