IDocumentInfo

IDocumentInfo interface

Common interface for all file metadata wrappers

public interface IDocumentInfo

Properties

Name Description
Format { get; } In implementing type should return a document format as a single value from a type, that represents one format family and inherits from IDocumentFormat interface
IsEncrypted { get; } Indicates whether specific file is encrypted and requires password for opening. For the document types, that cannot be encrypted (like all text-based) should always return ‘false’.
PageCount { get; } In implementing type should return count (number) of pages or other similar format-dependent entities (tabs, slides etc.). For those family types, that don’t have something similar (like plain text documents or XML) should return 1.
Size { get; } Document size in bytes

See Also