The IDLffDICOM::GetPreamble function method returns the preamble of a DICOM v3.0 Part 10 file.
Syntax
Result = Obj->[IDLffDICOM::]GetPreamble()
Return Value
Returns a 128-element byte array containing the preamble, which is a fixed 128 byte field available for implementation specified usage. If it is not used by the implementor of the file, it will be set to all zeroes.
Arguments
None
Keywords
None
Examples
obj = OBJ_NEW('IDLffDICOM')
var = obj->Read(DIALOG_PICKFILE(FILTER = '*'))
arr = obj->GetPreamble()
PRINT, arr
OBJ_DESTROY, obj
Version History