Leadtools.Dicom Namespace > DicomDataSet Class > SetPreamble Method : SetPreamble(IntPtr,UInt32) Method |
'Declaration Public Overloads Sub SetPreamble( _ ByVal preamble As IntPtr, _ ByVal length As UInteger _ )
'Usage Dim instance As DicomDataSet Dim preamble As IntPtr Dim length As UInteger instance.SetPreamble(preamble, length)
ObjectiveC Syntax
If the value specified by length is > 128 bytes, then the Preamble will be set with the first 128 bytes of preamble. If length is < or equal 128 bytes, then the Preamble will be set with the entire contents of preamble.
To retrieve the contents of the Preamble, call the GetPreamble(IntPtr,Int32) method.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2