RetrieveDocSection |
Scroll |
Retrieves a part of an archived Therefore⢠Document directly from the end media, without having to retrieve the whole Therefore⢠Document. This function is provided to retrieve parts of very large files, without having to retrieve the whole file from the end media to the Therefore⢠Server Cache (e.g. SAP® Print Lists, ....)
Namespace: Therefore.API
Visual Basic Public Overridable Function RetrieveDocSection ( _ nDocNo As Integer, _ nStreamNo As Integer, _ nOffset As Integer, _ nLength As Integer _ ) As Object C# public virtual object RetrieveDocSection ( int nDocNo, int nStreamNo, int nOffset, ref int nLength )
Parameters nDocNo The number of the Therefore⢠document.
nStreamNo The stream number in the Therefore⢠document to retrieve.
nOffset The offset (in bytes) where to start reading.
[in,out] nLength The number of bytes to read, starting from the offset. Returns on success the number of bytes actually read from the file.
Return Value Part of an Therefore⢠document as a raw byte array. |
|
Requires Connection You must be connected to the Therefore⢠Server when calling this method. |