LAUREL BRIDGE

Program Class

DICOM Connectivity Framework V3.4
The ToString method of DicomDataSet is used to convert an object instance to a human readable string.

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.

Inheritance Hierarchy

SystemObject
  LaurelBridge.DCFExamples.DatasetDumpProgram

Namespace:  LaurelBridge.DCFExamples.DatasetDump
Assembly:  DatasetDump (in DatasetDump.exe) Version: DCF34 r13043 DCF_3_4_56_20220408 NetFramework
Syntax

C#
public class Program

The Program type exposes the following members.

Constructors

  NameDescription
Public methodProgram
Initializes a new instance of the Program class
Top
Methods

  NameDescription
Public methodStatic memberMain
Main entry point for DatasetDump. See the Options class for usage and options.
Top
See Also

Reference