GetBatesNumberingSetting

 

#include “BlackIceDEVMODE.h”

 

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

Description

Obtains specified Bates format settings from 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:

Numberof 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 contain the Bates setting.

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