Document

Document class

Represents compared document.

public class Document

Constructors

Name Description
Document(Stream) Initializes new instance of Document class.
Document(string) Initializes new instance of Document class.
Document(Stream, string) Initializes new instance of Document class.
Document(string, string) Initializes new instance of Document class.

Properties

Name Description
Changes { get; set; } List of changes. Contains extensive description about change type, position, content etc.
FileType { get; } Document file type.
Name { get; set; } Document name.
Password { get; } Document password.
Stream { get; } Document stream.

Methods

Name Description
GeneratePreview(PreviewOptions) Generates document pages preview.
GetDocumentInfo() Gets information about document - document type, pages count, page sizes etc.

See Also