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



In This Topic
    CanConvertTo Method
    In This Topic
    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 String _
    ) As Boolean
    'Usage
     
    Dim instance As DicomImage
    Dim TransferSyntax As String
    Dim value As Boolean
     
    value = instance.CanConvertTo(TransferSyntax)
    public bool CanConvertTo( 
       string TransferSyntax
    )
    public:
    bool CanConvertTo( 
       String^ TransferSyntax
    ) 

    Parameters

    TransferSyntax
    The transfer syntax to test

    Return Value

    True is the conversion is possible
    Requirements

    Target Platforms: .NET CLR 3.5 or higher

    See Also