SetBatesNumberingSetting

 

#include “BlackIceDEVMODE.h”

 

BOOL SetBatesNumberingSetting(BlackIceDEVMODE* pDevMode, int iSetting, LPCTSTR pValueName, LPTSTR pValue, DWORD& dwSize)

Description

Sets specified Bates format settings in the registry.

Parameters

BlackIceDEVMODE* pDevMode               - pointer to the BlackIceDEVMODE structure.

int iSetting                                                     - specifies the Bates format. This value must be greater than zero.

LPCTSTR pValueName                             - name of the required setting. Available values: Number of formats,
Name, Use prefix, Prefix, Start with, Transparent, Position, X Offset, Y Offset, Offset Unit, Rotation, Color, Font, Height, Font Width, Font Orientation, Font Escapement, Font Weight, Font Italic, Font Underline, Font Strikeout, Font Charset, Font Clipprecisions, Font Quality, Font Outprecisions, Font PinchAndFamily, Font Facename

LPTSTR pValue                                           - This value will be saved in the registry.

DWORD& dwSize                                        - Number of characters of pValue. If the pValue is small, the GetBatesNumberingSetting returns FALSE and dwSize will store the required length (number of characters).

 

Return value

TRUE on success, otherwise FALSE.

Programming Notes

None

Code Example

None