GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureTextExtraction Class / LoadFromFile Method
The file path.
An optional parameter specifying the format of the document to be loaded. DocumentFormat.DocumentFormatUNKNOWN.
Specifies the document password, if any.





In This Topic
LoadFromFile Method (GdPictureTextExtraction)
In This Topic
Loads a document from a file path.
Syntax
'Declaration
 
Public Function LoadFromFile( _
   ByVal FilePath As String, _
   Optional ByVal DocumentFormat As DocumentFormat, _
   Optional ByVal Password As String _
) As GdPictureStatus
public GdPictureStatus LoadFromFile( 
   string FilePath,
   DocumentFormat DocumentFormat,
   string Password
)
public function LoadFromFile( 
    FilePath: String;
    DocumentFormat: DocumentFormat;
    Password: String
): GdPictureStatus; 
public function LoadFromFile( 
   FilePath : String,
   DocumentFormat : DocumentFormat,
   Password : String
) : GdPictureStatus;
public: GdPictureStatus LoadFromFile( 
   string* FilePath,
   DocumentFormat DocumentFormat,
   string* Password
) 
public:
GdPictureStatus LoadFromFile( 
   String^ FilePath,
   DocumentFormat DocumentFormat,
   String^ Password
) 

Parameters

FilePath
The file path.
DocumentFormat
An optional parameter specifying the format of the document to be loaded. DocumentFormat.DocumentFormatUNKNOWN.
Password
Specifies the document password, if any.

Return Value

A member of the GdPictureStatus enumeration.
See Also