Leadtools.Dicom Namespace > DicomDataSet Class : ChangeTransferSyntax Method |
public void ChangeTransferSyntax( string uid, int qualityFactor, ChangeTransferSyntaxFlags flags )
'Declaration Public Sub ChangeTransferSyntax( _ ByVal uid As String, _ ByVal qualityFactor As Integer, _ ByVal flags As ChangeTransferSyntaxFlags _ )
'Usage Dim instance As DicomDataSet Dim uid As String Dim qualityFactor As Integer Dim flags As ChangeTransferSyntaxFlags instance.ChangeTransferSyntax(uid, qualityFactor, flags)
public void ChangeTransferSyntax( string uid, int qualityFactor, ChangeTransferSyntaxFlags flags )
public void changeTransferSyntax(String uid, int qualityFactor, int changeTransferSyntaxFlags)
function Leadtools.Dicom.DicomDataSet.ChangeTransferSyntax( uid , qualityFactor , flags )
public: void ChangeTransferSyntax( String^ uid, int qualityFactor, ChangeTransferSyntaxFlags flags )
After this method is called all previous references to data elements in the Data Set will no longer be valid.
This method is especially useful when sending a C-Store Request message using the DicomNet.SendCStoreRequest method. The user can match the Data Set Transfer Syntax with the Transfer Syntax of the SCP.
If this function throws an "Error writing to a file" exception one of the causes could be that your system is missing the LEADTOOLS file filter Leadtools.Codecs.Cmp.dll. Specifically, this error will be returned if either the original transfer syntax or the new transfer syntax is one of the following: