MTblSetExportSubstColor
bOk = MTblSetExportSubstColor( hWndTbl, nColor, nSubstColor )
Sets or removes a table's substitute color for exports ( Excel, Open Office Calc, HTML ).
Substitution of a color for exports affects that a table color - regardless for what the color is used (as text color, background color, line color etc. ) - is replaced with another color in an export.
Parameters
hWndTbl
Window Handle: Handle of the table
nColor
Number: The table color
nSubstColor
Number: The substitute color or MTBL_COLOR_UNDEF to remove the substitution of the table color.
Return
Boolean: TRUE if successful or FALSE if an error occurs
Example
In this example we define that for exports COLOR_Blue is substituted with COLOR_Green:
Call MTblSetExportSubstColor( hWndTbl, COLOR_Blue, COLOR_Green )
See also
Exports
Created with the Personal Edition of HelpNDoc: Easy EPub and documentation editor