mindee-api-dotnet

LocalInputSource Constructors

Declaring Type: LocalInputSource
Namespace: Mindee.Input
Assembly: Mindee
Assembly Version: 3.21.0+995c229708fe61b0dacbe0bfca8ad9e39db87623

Overloads

Signature Description
LocalInputSource(FileInfo) Load the document to perform some checks.
LocalInputSource(Stream, string) Construct from stream.
LocalInputSource(byte[], string) Construct from bytes.
LocalInputSource(string) Construct from string.

LocalInputSource(FileInfo)

Load the document to perform some checks.

public LocalInputSource(FileInfo fileinfo);

Parameters

fileinfo FileInfo

File information from the file to load from disk.

Exceptions

MindeeInputException

LocalInputSource(Stream, string)

Construct from stream.

public LocalInputSource(Stream fileStream, string filename);

Parameters

fileStream Stream

The file contents as a stream.

filename string

The file name.

Exceptions

MindeeInputException

LocalInputSource(byte[], string)

Construct from bytes.

public LocalInputSource(byte[] fileBytes, string filename);

Parameters

fileBytes byte[]

The file contents as bytes.

filename string

The name of the file.

Exceptions

MindeeInputException

LocalInputSource(string)

Construct from string.

public LocalInputSource(string filePath);

Parameters

filePath string

The file’s local path as a string.

Exceptions

MindeeInputException


Documentation generated by MdDocs