FileFormatUtil.DetectFileFormat

DetectFileFormat(Stream)

Detects and returns the information about a format of a visio stored in a stream.

public static FileFormatInfo DetectFileFormat(Stream stream)
ParameterTypeDescription
streamStream

Return Value

A FileFormatInfo object that contains the detected information.

See Also


DetectFileFormat(string)

Detects and returns the information about a format of a visio stored in a file.

public static FileFormatInfo DetectFileFormat(string filePath)
ParameterTypeDescription
filePathStringThe file path.

Return Value

A FileFormatInfo object that contains the detected information.

See Also