Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.25
|
Leadtools.Dicom Namespace > DicomDataSet Class > ChangeTransferSyntax Method : ChangeTransferSyntax(String,Int32,ChangeTransferSyntaxFlags) Method |
public void ChangeTransferSyntax( string uid, int qualityFactor, ChangeTransferSyntaxFlags flags )
'Declaration
Public Overloads 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(String,Int32,ChangeTransferSyntaxFlags)( 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 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: