Leadtools.Jpip Requires JPIP module product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
DataLength Property
See Also 
Leadtools.Jpip Namespace > DataLimitFields Class : DataLength Property



Gets or sets the data length of the server response.

Syntax

Visual Basic (Declaration) 
Public Property DataLength As Nullable(Of Integer)
Visual Basic (Usage)Copy Code
Dim instance As DataLimitFields
Dim value As Nullable(Of Integer)
 
instance.DataLength = value
 
value = instance.DataLength
C# 
public Nullable<int> DataLength {get; set;}
C++/CLI 
public:
property Nullable<int> DataLength {
   Nullable<int> get();
   void set (Nullable<int> value);
}

Return Value

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

Example

For an example, refer to HttpRequestEncoder.

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.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Jpip requires a JPIP Module and a server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features