ImageGear Professional for Windows ActiveX
UpdateFileMetadata Method

Description:

Creates a new file with exact copy of source file's pixel data and with new metadata (File Meta Information header and DataSet) taken from IGMedPage Object. Pixel data is not decoded but copied directly from source to destination file.

This function can be used for updating metadata in an image file without modifying the pixel data. To achieve this, delete the source file after calling this function, and rename result file to the source file name.

The function does not change the tags that affect decoding of pixel data.

The function takes into account the following DICOM filter control parameters:

SAVE_GROUPLENGTHS

SAVE_ASPART10

Syntax:

Sub UpdateFileMetadata (MedPage as IGMedPage, SrcFileName As
String, DstFileName As String)

Parameters:

Name Description
MedPage IGMedPage Object, containing metadata to be saved to result file
SrcFileName Source file name
DstFileName Result file name

Sample:

Med

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback