DataLength Property

Summary

Gets or sets the data length of the server response.

Syntax
C#
VB
C++
public Nullable<int> DataLength { get; set; } 
  
Public Property DataLength As Nullable(Of Integer) 
public: 
property Nullable<int> DataLength { 
   Nullable<int> get(); 
   void set (    Nullable<int> ); 
} 

Property Value

A Nullable value which restricts the amount of data in bytes the client wants the server to send in response to this request.

Remarks

If this field is not specified in the client request, the server will send all the data relevant to the requested image view window in its response.

When a client creates a session with a server, the server will maintain a cache model for the information it sends to the client (soas not to send the same data again). This way the client can limit the number of bytes returned in each response and perform new requests to retrieve the rest of image information.

Example

For an example, refer to Leadtools.Jpip.RequestEncoder.HttpRequestEncoder.

Requirements

Target Platforms

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Jpip Assembly