tcomIDocument Interface Reference

Document object. More...

Inheritance diagram for tcomIDocument:

tcomIViewObjectContainer

List of all members.

Public Member Functions

HRESULT AddPage ([in] BSTR filePath,[in] BSTR mimeType,[out, retval] tcomIPage **ppPage)
 Add page to the document.
HRESULT Commit ()
 Commit document to the server.

Properties

IDispatch Repository [get]
 Return document repository.
IDispatch Pages [get]
 Return collection of pages.


Detailed Description

Document object.

Document stored in the repository.


Member Function Documentation

HRESULT AddPage ( [in] BSTR  filePath,
[in] BSTR  mimeType,
[out, retval] tcomIPage **  ppPage 
)

Add page to the document.

Add file to the document

HRESULT Commit (  ) 

Commit document to the server.

Commit document and all pages


Property Documentation

IDispatch Pages [get]

Return collection of pages.

It is possible to iterate over pages in the document. Returned object is tcomIPages.

Return values:
ppPages Return collection of pages (tcomIPages)

IDispatch Repository [get]

Return document repository.

Return values:
ppRepository Return repository. This object is type of tcomIDocumentManagerComponent


Generated on Thu Aug 27 12:37:14 2009 for Tahiti COM API