SetASCIMP
Set the internal ASCII import settings for the worksheet. The settings will be passed in an ASCIMP structure. The ASCIMP structure is defined and documented in the oc_types.h header file.
BOOL SetASCIMP( ASCIMP & stAscImp )
TRUE on success, FALSE on failure
EX1
void Worksheet_SetASCIMP_Ex1() { Worksheet wks; wks.Create(); if( wks.IsValid() ) { ASCIMP ascimp; if( wks.GetASCIMP(ascimp) ) { printf("Worksheet ASCII import settings obtained.\n"); // make sure settings are for comma delimted ascimp.iDelimited = 1; ascimp.iDelimiter = ASCIMP_DELIM_COMMA; if( wks.SetASCIMP(ascimp) ) printf("Worksheet ASCII import settings updated.\n"); else printf("Failed to set worksheet's ASCII import settings.\n"); } else printf("Failed to get worksheet's ASCII import settings.\n"); } else printf("Failed to create a test worksheet.\n"); }
Worksheet::GetASCIMP
origin.h