←Select platform

Stream Property

Summary

Stream to read the data into during this download operation.

Syntax
C#
VB
C++
public Stream Stream {get; set;} 
Public Property Stream() As Stream 
   Get 
   Set 
public:  
   property Stream^ Stream 
   { 
      Stream^ get() 
      void set(Stream^ value) 
   } 

Property Value

Stream into which to read the document data. The default value is null.

Remarks

To download a document from the cache, use either Data or Stream, but not both. In other words, one of these properties must be set to a non-null value to indicate the target for the download operation.

When Stream is used, the data is stored beginning at the offset stored in the stream itself, and DataOffset is not used.

DataOffset is the 0-based byte offset into the source data at which to begin reading the data.

Length is the maximum number of bytes to read.

Example

For an example, refer to DocumentFactory.DownloadDocument.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.