.NET Framework Class Library

IDocument Methods

<< Click to Display Table of Contents >>

Navigation:  Gnostice Document Studio .NET > Reference Documentation > API Reference > Gnostice.Core.DOM Namespace > IDocument Interface >

.NET Framework Class Library

IDocument Methods

The IDocument type exposes the following members.

Methods

 

Name

Description

Public method

CanCopyFrom

Returns whether current document can be converted to the format of the specified document.

Public method

Check(Stream)

Only for internal use. Returns whether the supplied stream conforms to the document format supported by this document engine.

Public method

Check(String)

Only for internal use. Returns whether the supplied file conforms to the document format supported by this document engine.

Public method

CloseDocument

Close the document.

Public method

CopyFrom(IDocument)

Copies specified document to specified document.

Public method

CopyFrom(IDocument, PageRange, String)

Copies specified pages from the document to specified document.

Public method

Dispose

(Inherited from IDisposable.)

Public method

DisposePage

Request the engine to dispose the specified page thereby freeing resources used by it.

Public method

GetDocumentText

Gets the text contained in the document.

Public method

GetFileInfo(Stream, String)

Returns file information such as MIME type, size, whether open password is required to open the document and other essential information.

Public method

GetFileInfo(String, String)

Returns file information such as MIME type, size, whether open password is required to open the document and other essential information.

Public method

LoadDocument(Stream, String)

Loads a document from specified stream and decrypts it with specified password.

Public method

LoadDocument(String, String)

Loads a document from specified file and decrypts it with specified password.

Public method

SaveDocument(Stream)

Saves document to specified stream.

Public method

SaveDocument(String)

Saves document to specified directory with specified file name prefix.

Public method

UpdatePage

Request the engine to load the specified page if it has been disposed.

See Also

IDocument Interface

Gnostice.Core.DOM Namespace