You are here: GdPicture.NET > Documentation > Classes > GdPictureImaging Class > GdPictureImaging Methods > Standalone Functions > GetDocumentFormatFromFile Method
logo.gif
ContentsIndexHome
PreviousUpNext
GdPictureImaging.GetDocumentFormatFromFile Method

Returns the format of a document from its path.

C#
public DocumentFormat GetDocumentFormatFromFile(
    String FilePath
);
Visual Basic
Public Function GetDocumentFormatFromFile(
    ByVal FilePath As String
) As DocumentFormat
Parameters
Parameters 
Description 
FilePath 
The file path.  
Returns

A member of the DocumentFormat enumeration.

What do you think about this topic? Send feedback!
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.