Overload | Description |
---|---|
GetDocumentFormat(String) | Determines the document format in accordance with the specified file path of that document.
Be aware that this method uses the file itself to obtain the known document format either from the file extension or the document content. If the file does not exist on the specified file path, the returned format is unknown. Please refer to the GdPictureDocumentUtilities.GetDocumentFormatFromFileName method to obtain the document format based only on the file name. |
GetDocumentFormat(Stream) | Determines the format of a required document from a previously instantiated Stream object.
The method firstly favors popular formats by their extension. Secondly, it validates the file content to find the proper document format. |
GetDocumentFormat(Stream,String) | Determines the format of a required document from a previously instantiated Stream object with the help of the original file name.
The method firstly favors popular formats by their extension. Secondly, it validates the file content to find the proper document format. |