ImageGear .NET v25.0 - Updated
UpdateFromPresStateMetadata(ImGearMetadataHead) Method
Example 




ImageGear.Formats.Dicom Assembly > ImageGear.Formats.DICOM Namespace > ImGearDICOMDisplaySettings Class : UpdateFromPresStateMetadata(ImGearMetadataHead) Method
Presentation State metadata from which display settings shall be obtained.
Updates the object from DICOM Presentation State metadata.
Syntax
'Declaration
 
Public Sub UpdateFromPresStateMetadata( _
   ByVal metadata As ImGearMetadataHead _
) 
'Usage
 
Dim instance As ImGearDICOMDisplaySettings
Dim metadata As ImGearMetadataHead
 
instance.UpdateFromPresStateMetadata(metadata)
public void UpdateFromPresStateMetadata( 
   ImGearMetadataHead metadata
)
public: void UpdateFromPresStateMetadata( 
   ImGearMetadataHead* metadata
) 
public:
void UpdateFromPresStateMetadata( 
   ImGearMetadataHead^ metadata
) 

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:
Example
ImGearRasterPage rasterPage = (ImGearRasterPage)igPage;
ImGearDICOMDisplaySettings dicomDisplaySettings = new ImGearDICOMDisplaySettings();
dicomDisplaySettings.UpdateFromPresStateMetadata(rasterPage.Metadata);
Dim rasterPage As ImGearRasterPage = igPage
Dim dicomDisplaySettings As ImGearDICOMDisplaySettings = New ImGearDICOMDisplaySettings()
dicomDisplaySettings.UpdateFromPresStateMetadata(rasterPage.Metadata)
See Also

Reference

ImGearDICOMDisplaySettings Class
ImGearDICOMDisplaySettings Members
ImGearMetadataHead Class