GanttViewUI.ViewMode
可读写 甘特视图的模式,注意:设置值时为以下之一:'Week','Month','Quarter','Year' .
String
async function today() { await instance.ready(); const app = instance.Application; const GanttViewUI = await app.Window.GanttViewUI GanttViewUI.ViewMode = "week" }