InitDS Example for C#
//LEADDICOM1 is a DICOM Dataset defined outside this method
private void TestInitDS ( )
{
//init a DS with default options
LEADDICOM1.InitDS((int)LTDICLib.DicomClassConstants.DICOM_CLASS_CR_IMAGE_STORAGE,
(short)LTDICLib.DicomDataSetFlags.DS_EXPLICIT_VR + (short)LTDICLib.DicomDataSetFlags.DS_METAHEADER_ABSENT
+ (short)LTDICLib.DicomDataSetFlags.DS_BIG_ENDIAN);
}