Sets the maximum buffer size for data captured using the data capture facility. The data capture facility allows you to save all information being sent to the presentation space by the host for later retrieval as a byte array or a string.


Namespace: ScreenUPG
Assembly: ScreenUPG (in ScreenUPG.dll)

Syntax

Visual Basic (Declaration)
Public Sub setMaxDataCaptureLength( _ 
   ByVal dcl As Integer _ 
)
C#
public void setMaxDataCaptureLength(
   int dcl
)
C++
public:
 void setMaxDataCaptureLength(
   int dcl
) sealed 
J#
public void setMaxDataCaptureLength(
   int dcl
)
JScript
public  function setMaxDataCaptureLength(
   dcl : int
)

Parameters

dcl
The maximum number of bytes to save in the buffer.

Remarks

Note: The default value is 9600 bytes, which is the equivalent of 5 screens of data (5 x 1920). Any bytes that exceed the specified buffer size are truncated.

Example

[C#]

 Copy Code
            screen.setMaxDataCaptureLength(10000);
            
[VB]
 Copy Code
            screen.setMaxDataCaptureLength 10000
            

See Also