Xceed Words for .NET v4.0 Documentation
DetectFormat Method


Xceed.Drawing.NET Assembly > Xceed.Drawing Namespace > Image Class : DetectFormat Method
The stream that is associated with the evaluated Image.
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

Reference

Image Class
Image Members