ImageGear for .NET
UpdateFromPresStateMetadata(ImGearMetadataHead) Method
See Also  Example Send Feedback
ImageGear21.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearDICOMDisplaySettings Class : UpdateFromPresStateMetadata(ImGearMetadataHead) Method




metadata
Presentation State metadata from which display settings shall be obtained.

Glossary Item Box

Updates the object from DICOM Presentation State metadata.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

metadata
Presentation State metadata from which display settings shall be obtained.

Remarks

This method updates ImGearDICOMDisplaySettings class object from DICOM metadata. It sets the following members:
  • Modality
  • VOI
  • Inverted
  • Presentation LUT

Example

C#Copy Code
ImGearRasterPage rasterPage = (ImGearRasterPage)igPage;
ImGearDICOMDisplaySettings dicomDisplaySettings = new ImGearDICOMDisplaySettings();
dicomDisplaySettings.UpdateFromPresStateMetadata(rasterPage.Metadata);
Visual BasicCopy Code
Dim rasterPage As ImGearRasterPage = igPage
Dim dicomDisplaySettings As ImGearDICOMDisplaySettings = New ImGearDICOMDisplaySettings()
dicomDisplaySettings.UpdateFromPresStateMetadata(rasterPage.Metadata)

See Also

©2013. Accusoft Corporation. All Rights Reserved.