Visual Basic
C#
Managed Extensions for C++
C++/CLI
Parameters
- metadata
- DICOM Metadata, from which display settings shall be obtained.
This method updates ImGearDICOMDisplaySettings class object from DICOM metadata. It sets the following members:
- Modality
- VOI
- Inverted
Presentation State metadata uses a different structure than metadata of a DICOM image. To update ImGearDICOMDisplaySettings class from presentation state metadata, use UpdateFromPresStateMetadata(ImGearMetadataHead) method.
NOTE:
This method does not update DisplaySummaryLUT property. Use UpdateDisplaySummaryLUT method for this.
C# | Copy Code |
---|---|
ImGearRasterPage rasterPage = (ImGearRasterPage)igPage;
ImGearDICOMDisplaySettings dicomDisplaySettings = new ImGearDICOMDisplaySettings();
dicomDisplaySettings.UpdateFromMetadata(rasterPage.Metadata); |
Visual Basic | Copy Code |
---|---|
Dim rasterPage As ImGearRasterPage = igPage Dim dicomDisplaySettings As ImGearDICOMDisplaySettings = New ImGearDICOMDisplaySettings() dicomDisplaySettings.UpdateFromMetadata(rasterPage.Metadata) |