DicomObjects.NetStandard Documentation
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also