Represents content data that is local to an object store and directly managed by the Content Engine server.


The following tables list the members exposed by IContentTransfer.

Public Properties

  Name Description
Public property ContentSize Specifies the size in bytes of the content data associated with this document, annotation, or ContentTransfer object. Note that if the document or annotation has more than one content element, then the size is the sum of all of the content elements.
Public property RetrievalName Specifies the path to the file from which the content data for this document or annotation content element (represented by a ContentTransfer object) can be retrieved for editing. The complete path (including the file name) can contain up to 2083 characters; the file name itself can be up to 255 characters long.
Top

Public Methods

  Name Description
Public method AccessContentStream Obtains read access, via an input stream, to the content data of this ContentTransfer object. If content data is not present in the object’s property cache, it will be fetched from the server. The Content Engine will not automatically close the stream after access has finished; unless you want the stream to remain open, your application should close the stream after it has finished reading the content data.
Public method SetCaptureSource Specifies an input stream as the source of content data for this ContentTransfer object. The Content Engine will not automatically close the stream after access has finished; unless you want the stream to remain open, your application should close the stream once all of the content data has been read by the server. The stream can safely be closed after you have added this ContentTransfer object to the ContentElements collection of a document or annotation and called that object's Save method.
Top

See Also