Programming with DICOM Edit Control Property Grid

Show in webframe

The LEADTOOLS DICOM Edit Control property grid is a sophisticated control. It can be used to build an elegant DICOM editor with tooltips, selection list and data validation capabilities as well as to simply display detailed information stored in a DICOM file in an organized layout.

To add the DICOM Edit Control to your project, do the following:

To add a DICOM dataset to the property grid assign newly initialized or loaded Leadtools.Dicom.DicomDataSet object to the Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid.DataSet property of the Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid.

To switch between the module view and list view, use the Switch property.

The end-user can use the clickable commands in the DicomPropetyGrid's Command pane to display or hide tag info. This can also be set programmatically using the Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid.ShowTagInfo property.

The user can reduce clutter by hiding some tags from being displayed(UID as an example). To hide tags add an event handler for the Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid.BeforeAddElement event and set the Leadtools.Dicom.Common.Editing.BeforeAddElementEventArgs Cancel property to true.

To add visual clue about the value requirement of a tag (i.e. DICOM Type 1, Type 2, Type 1C etc.) or to add tips or description about a tag do the following:

To limit the user selection options for a tag value to a specific list (i.e. enumerated or defined terms in DICOM or an implementation specific list) do the following:

To add or remove some tags from the dataset do the following:

The patient name value representation (VR) is handled automatically by the Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid. The Leadtools.Dicom.Common assembly includes a Leadtools.Dicom.Common.Editing.Converters.PersonNameConverter, and Leadtools.Dicom.Common.Editing.Converters.PersonNameListConverter to convert Leadtools.Dicom.Common.Editing.Converters.PersonNameConverter, and Leadtools.Dicom.Common.DataTypes.PersonName to and from string representation.

In addition following user interface (UI) Methods are provided to simplify DICOM editing task:

Changes made in the Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid automatically updates the attached Leadtools.Dicom.DicomDataSet; which can be used to save the updated dataset to disk.

Please, refer to Print To PACS or DICOM High-level MWL SCU demo source project for sample implementation of Leadtools.Dicom.Common.Editing.Controls.DicomPropertyGrid.

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.