Preamble Example for VB.NET

'LEADDICOM1 is a DICOM Dataset defined outside this method
Private Sub TestPreamble ()
   LEADDICOM1.GetDSPreamble()
   MessageBox.Show(LEADDICOM1.Preamble)
End Sub

'LEADDICOM1 is a DICOM Dataset defined outside this method
'This example uses the predefined variable "Text1" of type "TextBox" from ".NET Framework".
Private Sub TestPreamble2()
   LEADDICOM1.Preamble = Text1.Text
   LEADDICOM1.SetDSPreamble()
End Sub