Gets the contents of the file's preamble.
public byte[] GetPreamble(
int length
)
Public Overloads Function GetPreamble( _
ByVal length As Integer _
) As Byte()
public byte[] GetPreamble(
int length
)
public byte[] getPreamble(int length)
function Leadtools.Dicom.DicomDataSet.GetPreamble(Int32)(
length
)
public:
array<byte>^ GetPreamble(
int length
)
length
Value that represents the length of the file's preamble, in bytes. The maximum size of a preamble is 128 bytes.
Buffer that contains the contents of the file's preamble.
To set the file's preamble, call the DicomDataSet.SetPreamble(Byte[], int, int) method. If the value specified by length is >= 128, then the entire preamble will be returned. If length is < 128, then a truncated version of the preamble, with length length, will be returned.
For an example, refer to SetIntValue.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET