ImageGear .NET
UpdateFromMetadata(ImGearMetadataHead) Method
Example 




DICOM Metadata, from which display settings shall be obtained.
Updates the object from DICOM metadata.
Syntax
'Declaration
 
Public Sub UpdateFromMetadata( _
   ByVal metadata As ImGearMetadataHead _
) 
'Usage
 
Dim instance As ImGearDICOMDisplaySettings
Dim metadata As ImGearMetadataHead
 
instance.UpdateFromMetadata(metadata)
public void UpdateFromMetadata( 
   ImGearMetadataHead metadata
)
public: void UpdateFromMetadata( 
   ImGearMetadataHead* metadata
) 
public:
void UpdateFromMetadata( 
   ImGearMetadataHead^ metadata
) 

Parameters

metadata
DICOM Metadata, from which display settings shall be obtained.
Remarks
This method updates ImGearDICOMDisplaySettings class object from DICOM metadata. It sets the following members:

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.

Example
ImGearRasterPage rasterPage = (ImGearRasterPage)igPage;
ImGearDICOMDisplaySettings dicomDisplaySettings = new ImGearDICOMDisplaySettings();
dicomDisplaySettings.UpdateFromMetadata(rasterPage.Metadata);
Dim rasterPage As ImGearRasterPage = igPage
Dim dicomDisplaySettings As ImGearDICOMDisplaySettings = New ImGearDICOMDisplaySettings()
dicomDisplaySettings.UpdateFromMetadata(rasterPage.Metadata)
See Also

Reference

ImGearDICOMDisplaySettings Class
ImGearDICOMDisplaySettings Members
ImGearMetadataHead Class

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback