Gets the contents of the file's preamble.
public byte[] GetPreamble(
uint length
)
Public Overloads Function GetPreamble( _
ByVal length As UInteger _
) As Byte()
public byte[] GetPreamble(
uint length
)
function Leadtools.Dicom.DicomDataSet.GetPreamble(UInt32)(
length
)
public:
array<byte>^ GetPreamble(
uint 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.
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