【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.10.6 DataRangeEx::Save
Contents
Description
Save current changes to the DataRange object.
Syntax
bool Save( )
Parameters
Return
True for success; otherwise false.
Examples
Ex1
//Save current changes to the DataRange object. void DataRangeEx_Save_Ex1() { //assume the active workbooka sheet and has least four columns before run this code. Worksheet wks = Project.ActiveLayer(); if ( !wks ) { printf("Can not find any active worksheet!"); return; } DataRangeEx dr; dr.Create();//init the object dr.Add("X", wks, 0, 0, -1, 0); dr.Add("Y", wks, 0, 1, -1, 1); if(dr.Save()) out_str("Save datarange success!"); return; }
Remark
See Also
Header to Include
origin.h