Updates document metadata without changing pixel data.
            
            
            
            Syntax
            
            
            
            
            'Declaration
 
Public Shared Sub UpdateDocumentMetadata( _
   ByVal  As Stream, _
   ByVal  As Stream, _
   ByVal  As ImGearMetadataHead _
) 
             
        
            
            'Usage
 
Dim sourceStream As Stream
Dim destinationStream As Stream
Dim metadata As ImGearMetadataHead
 
ImGearFileFormats.UpdateDocumentMetadata(sourceStream, destinationStream, metadata)
             
        
            
            public static void UpdateDocumentMetadata( 
   Stream ,
   Stream ,
   ImGearMetadataHead 
)
             
        
            
            public: static void UpdateDocumentMetadata( 
   Stream* ,
   Stream* ,
   ImGearMetadataHead* 
) 
             
        
            
            public:
static void UpdateDocumentMetadata( 
   Stream^ ,
   Stream^ ,
   ImGearMetadataHead^ 
) 
             
        
             
        
            Parameters
- sourceStream
 
- Data stream containing a source image.
 - destinationStream
 
- Data stream to write the updated image to.
 - metadata
 
- Document metadata tree to be saved to the new image.
 
            
             
            Exceptions
| Exception | Description | 
| System.ArgumentNullException | 
            Thrown if the specified stream is null or metadata parameter is null.
             | 
| ImageGear.Core.ImGearException | 
            Thrown with ImGearErrorCodes.PAGE_NOT_PRESENT error code if the source stream represents DICOM vector waveform data.
             
        
            Thrown with ImGearErrorCodes.CANT_SAVE_FORMAT error code if the metadata cannot be updated due to invalid data in the source stream.
              | 
 
            
            
            
            
            
            
            
            
            
            
            See Also