PrinterStretchDIBCaps

渲染和打印

描述

报告设备上下文是否支持 StretchDIBits 光栅

探测读取 RASTERCAPS 能力位并检查 RC_STRETCHDIB

语法

Delphi

Function PrinterStretchDIBCaps(PrinterDevice: HDC): Boolean;

参数

PrinterDevice待探测的设备上下文

返回值

False设备不支持 StretchDIBits
True设备接受经 StretchDIBits 绘制的 DIB 光栅

备注

这些辅助函数仅存在于 Windows;非 Windows 占位实现报告不支持且不打印任何内容

另请参阅

PrinterJPEGCaps, PrinterPNGCaps, PrintRaw24BitBGRRect