LinkAMRFile Method


Description

Links a (pseudo-) anatomical AMR file to an FMR document.

Syntax

objDocument.LinkAMRFile(strAMRFileName)

Remarks

Valid only if objDocument is of type FMR. To establish a permanent link to the AMR file, save the FMR file using the Save method.

Example

' VBScript
Set doc = BrainVoyager.
OpenDocument("cg_objects.fmr")
doc.
LinkAMRFile "func_as_anat.amr"
doc.
Save

// JScript
doc = BrainVoyager.
OpenDocument("cg_objects.fmr");
doc.
LinkAMRFile("func_as_anat.amr");
doc.
Save();

# PerlScript
$doc = $BrainVoyager->
OpenDocument("cg_objects.fmr");
$doc->
LinkAMRFile("func_as_anat.amr");
$doc->
Save();