mindee-api-dotnet

LocalInputSource Class

Namespace: Mindee.Input
Assembly: Mindee
Assembly Version: 3.22.0+aa1b44d54eab23ff2156f9ad9391c70a961697c0

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