DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage Class / CanConvertTo Method
The transfer syntax to test






    CanConvertTo Method
    Useful method to check if the image can be converted using a different compression specified by the TransferSyntax
    Syntax
    'Declaration
     
    
    Public Function CanConvertTo( _
       ByVal TransferSyntax As System.String _
    ) As System.Boolean
     
    'Usage
     
    
    Dim instance As DicomImage
    Dim TransferSyntax As System.String
    Dim value As System.Boolean
     
    value = instance.CanConvertTo(TransferSyntax)

    Parameters

    TransferSyntax
    The transfer syntax to test

    Return Value

    True is the conversion is possible
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also