mindee-api-dotnet

LocalInputSource Class

Namespace: Mindee.Input
Assembly: Mindee
Assembly Version: 3.21.0+995c229708fe61b0dacbe0bfca8ad9e39db87623

Represent a document to parse.

public sealed class LocalInputSource

Inheritance: object → LocalInputSource

Constructors

Name 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.

Properties

Name Description
Extension Extension file’s.
FileBytes The file as a stream.
Filename The name of the file.

Methods

Name Description
Compress(int, int?, int?, bool, bool) Compresses the file, according to the provided info.
GetPageCount() Returns the page count for PDF files, or ‘1’ otherwise.
HasSourceText() Returns true if the source PDF has source text inside. Returns false for images.
IsExtensionValid() Determine if the file extension is valid.
IsPdf() Determine if the file is a PDF.

Documentation generated by MdDocs