Xceed Words for .NET v5.0 Documentation
Xceed.Drawing.NET Assembly / Xceed.Drawing Namespace / Image Class / DetectFormat Method
The stream that is associated with the evaluated Image.


In This Topic
    DetectFormat Method
    In This Topic
    Returns the Image's format as a string.
    Syntax
    'Declaration
     
    Public Shared Function DetectFormat( _
       ByVal stream As Stream _
    ) As String
    'Usage
     
    Dim stream As Stream
    Dim value As String
     
    value = Image.DetectFormat(stream)
    public static string DetectFormat( 
       Stream stream
    )

    Parameters

    stream
    The stream that is associated with the evaluated Image.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows, 11, 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