void test(string str = "Hello World.html")
{
string strFile=GetOriginPath(ORIGIN_PATH_SYSTEM) + "\\Samples\HTML\\" + str;
string strExport = "c:\\test\\test.html";
int n;
Note note;
note.Create();
n = note.DoMethod("Load", strFile);
n = note.DoMethod("EXPORTHTML", strExport);
n = note.SetProp("View",0);
n = note.SetProp("Syntax",0);
n = note.DoMethod("DUPLICATE");
n = note.DoMethod("Close");
}