【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.46.69 Worksheet::SetASCIMP
Description
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.
Syntax
BOOL SetASCIMP( ASCIMP & stAscImp )
Parameters
- stAscImp
- [input] An ASCIMP struct that has been setup with import settings.
Return
TRUE on success, FALSE on failure
Examples
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"); }
Remark
See Also
Header to Include
origin.h