SetTextOutputFormat

 

#include “BlackIceDEVMODE.h”

 

BOOL SetTextOutputFormat (BlackIceDEVMODE* pBlackIceDevMode, DWORD dwValue)

Description

Sets the Text Output format of the Printer Driver.

Parameters

BlackIceDEVMODE* pBlackIceDevMode        - pointer to the BlackIceDEVMODE structure

DWORD dwValue   - The new text output  format. Can be one of the values of the TEXTOUTPUT_FORMAT enum:

 

TEXTOUTPUT_FORMAT_PLAIN                   = 0,  // Plain Text (default)

TEXTOUTPUT_FORMAT_POSITION_AND_STYLE      = 1,  // Add font information, position and style 

TEXTOUTPUT_FORMAT_LAYOUT                  = 2   // Text with layout

Return value

TRUE on success, otherwise FALSE

Programming Notes

None

Code Example

None