SetTextOutputLegacyCoordinates

#include “BlackIceDEVMODE.h”

 

BOOL SetTextOutputLegacyCoordinates(BlackIceDEVMODE* pBlackIceDevMode, BOOL bEnable)

Description

The coordinate calculation has changed in printer driver version 14.35.

When the Use Legacy Coordinates option is enabled, the Printer Driver generates coordinates based on previous version of text extraction.

The extracted text coordinates with Use Legacy Coordinates option will be the same as with Printer Driver version 14.35 and earlier.

This option could be useful if one updated to the latest Black Ice Printer Driver, but insists to use the same coordinates for commonly extracted documents.

Parameters

BlackIceDEVMODE* pBlackIceDevMode        - pointer to the BlackIceDEVMODE structure

BOOL bEnable        - Set to TRUE to enable the legacy coordinate calculations, set to FALSE to disable it.

Return value

TRUE on success, otherwise FALSE

Programming Notes

None

Code Example

None