public DicomFile GetHeader(bool forceComplete) { if (forceComplete) { LoadFullHeader(); //Make sure the full header's loaded. } //Return a copy of whatever we've got. return(new DicomFile(null, MetaInfo.Copy(), DataSet.Copy())); }
public DicomFile LoadDicomFile(LoadSopDicomFileArgs args) { if (args.ForceCompleteHeader) { LoadFullHeader(args.IncludePixelData); } return(new DicomFile(null, MetaInfo.Copy(), DataSet.Copy())); }