Class DICOMFileWriter
Inheritance
System.Object
DICOMFileWriter
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace:EvilDICOM.Core.IO.Writing
Assembly:EvilDICOM.dll
Syntax
public class DICOMFileWriter
Methods
View SourceWrite(Stream, DICOMIOSettings, DICOMObject)
Write DICOM file out (bytes) to a specified stream
Declaration
public static void Write(Stream stream, DICOMIOSettings settings, DICOMObject toWrite)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IO.Stream | stream | the stream to which to write the file |
| DICOMIOSettings | settings | the write settings |
| DICOMObject | toWrite | the object to write |
Write(String, DICOMIOSettings, DICOMObject)
Writes DICOM file out as a file of a specified path
Declaration
public static void Write(string filePath, DICOMIOSettings settings, DICOMObject toWrite)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | filePath | the path to which to write the file |
| DICOMIOSettings | settings | the write settings |
| DICOMObject | toWrite | the object to write |