PrinterStretchDIBCaps

Rendering and printing

Description

Reports whether a device context supports StretchDIBits rasters

The probe reads the RASTERCAPS capability bits and checks RC_STRETCHDIB

Syntax

Delphi

Function PrinterStretchDIBCaps(PrinterDevice: HDC): Boolean;

Parameters

PrinterDeviceDevice context to probe

Return values

FalseThe device has no StretchDIBits support
TrueThe device accepts DIB rasters through StretchDIBits

Remarks

These helpers exist only on Windows; the non-Windows stubs report no support and print nothing

See also

PrinterJPEGCaps, PrinterPNGCaps, PrintRaw24BitBGRRect