SetDSPreamble method

Delphi example

C++Builder example

 

Builder Syntax

int __fastcall SetDSPreamble(void);

Delphi Syntax

function SetDSPreamble: Integer;

Overview

Refer to Working with Data Sets.

Remarks

Sets the preamble buffer with the value of the Preamble property. This will be used when saving the Data Set to a DICOM file.

The standard length of the preamble is 128 bytes. If the preamble buffer contains more than 128 bytes of data, only the first 128 bytes will be used.

To retrieve the contents of the Preamble, call the GetDSPreamble method.

See Also

Elements:

GetDSPreamble method, Preamble property