SetTextOutputSpaceDetectionMethod

 

#include “BlackIceDEVMODE.h”

 

BOOL SetTextOutputSpaceDetectionMethod (BlackIceDEVMODE* pBlackIceDevMode, DWORD dwValue)

Description

The Detect space in text feature automatically detects the space characters between the EMF records from the input document, and inserts the spaces between the appropriate words in the text output.

Parameters

BlackIceDEVMODE* pBlackIceDevMode        - pointer to the BlackIceDEVMODE structure

DWORD dwValue   - The space detection method value. One of the values of the TEXTOUTPUT_ADDSPACE enum:

 

TEXTOUTPUT_ADDSPACE_NEVER     = 0,  // never insert spaces between records

TEXTOUTPUT_ADDSPACE_ALWAYS    = 1,  // always insert spaces between records

TEXTOUTPUT_ADDSPACE_AUTO      = 2   // calculate the distance between the records on the page and insert spaces accordingly. (default)

Return value

TRUE on success, otherwise FALSE

Programming Notes

None

Code Example

None