VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Dicom Namespace / DicomFile Class / DicomFile Constructors / DicomFile Constructor(String,Boolean)
Syntax Exceptions Requirements SeeAlso
In This Topic
DicomFile Constructor(String,Boolean)
In This Topic
Initializes a new instance of the DicomFile class.
Syntax
'Declaration

Public Function New( _
ByVal filePath
The path of the DICOM file.
As System.String, _
ByVal readOnlyAccess
A value indicating whether image file should be opened in read-only mode.
As Boolean _
)
public DicomFile(
System.String filePath,
bool readOnlyAccess
)

Parameters

filePath
The path of the DICOM file.
readOnlyAccess
A value indicating whether image file should be opened in read-only mode.
Exceptions
ExceptionDescription
Thrown if filename is null.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also