Click or drag to resize
SoVRDicomFileReaderSetFilename Method

Specify the name of a DICOM file or a file containing a list of DICOM files to load.

Namespace: OIV.VolumeViz.Readers
Assembly: OIV.VolumeViz (in OIV.VolumeViz.dll) Version: 2024.1.1.0 (2024.1.1)
Syntax
public override int SetFilename(
	string filename
)

Parameters

filename
Type: SystemString

Return Value

Type: Int32
Remarks

Using a list file is the same as loading a stack of images using the OIV.VolumeViz.Readers.SoVRRasterStackReader except the list file should not contain any header. Each line in the list file may be a full path containing directory names or a simple file name. Simple file names are assumed to be in the same directory as the list file. The application can also specify a list of file paths using the () method. This is useful, for example, if the application user is allowed to select a list of files in a file selection dialog. All the specified files should be part of the same volume data set.

Returns 0 if successful.

See Also