CloseAllTimeCoursePlots Method


Description

Closes all previously created time course windows.

Syntax

objDocument.CloseAllTimeCoursePlots()

Remarks

Valid only if objDocument is of type VMR. All ROI Time Course windows previously created with the ShowTimeCourseOfVoxel or ShowTimeCourseOfVoxelEx method are closed at once.

Example

' VBScript
doc.
ShowTimeCourseOfVoxelEx 100, 180, 145, "TC window 1", False, 523,   0, 500, 181, True, False
doc.
ShowTimeCourseOfVoxelEx 100, 180, 145, "TC window 2", False, 523, 181, 500, 181, True, False
doc.
CloseAllTimeCoursePlots

// JScript
doc.
ShowTimeCourseOfVoxelEx(100, 180, 145, "TC window 1", false, 523,   0, 500, 181, true, false);
doc.ShowTimeCourseOfVoxelEx(100, 180, 145, "TC window 2", false, 523, 181, 500, 181, true, false);

doc.
CloseAllTimeCoursePlots();

# PerlScript
$doc->ShowTimeCourseOfVoxelEx(100, 180, 145, "TC window 1", 0, 523,   0, 500, 181, 1, 0);
$doc->
ShowTimeCourseOfVoxelEx(100, 180, 145, "TC window 2", 0, 523, 181, 500, 181, 1, 0);
$doc->CloseAllTimeCoursePlots();