Behind the scenes, the ToString method uses the DataSetDumper class which uses DataSetDumperOptions to provide extensive control over the formatting and output options. The second output demonstrates how to get the file offsets for a chapter 10 file.
This example also demonstrates usage of TryReadDataSet(DicomDataSet, DCSException). This method allows the invoker to read a dataset with encoding errors and return the elements that were successfully read and diagnostics that aid in determining where the encoding errors occurred.
LaurelBridge.DCFExamples.DatasetDumpProgram
Namespace: LaurelBridge.DCFExamples.DatasetDump
Assembly: DatasetDump (in DatasetDump.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
public class Program
The Program type exposes the following members.
Name | Description | |
---|---|---|
Program | Initializes a new instance of the Program class |
Name | Description | |
---|---|---|
Main |
Main entry point for DatasetDump. See the Options class for usage and options.
|