'Declaration
<ComVisibleAttribute(False)> Public Overloads Shared Function GetDocumentFormat( _ ByVal Stream As Stream _ ) As DocumentFormat
[ComVisible(false)] public static DocumentFormat GetDocumentFormat( Stream Stream )
public function GetDocumentFormat( Stream: Stream ): DocumentFormat; static;
ComVisibleAttribute() public static function GetDocumentFormat( Stream : Stream ) : DocumentFormat;
[ComVisible(false)] public: static DocumentFormat GetDocumentFormat( Stream* Stream )
[ComVisible(false)] public: static DocumentFormat GetDocumentFormat( Stream^ Stream )
Parameters
- Stream
- A System.IO.Stream object. This stream object must be initialized before it can be sent into this method and it should remain open for subsequent use. At the same, the provided stream object must support seeking, otherwise the method will fail.
Return Value
A member of the DocumentFormat enumeration. The format of the specified document.