Returns the current 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 Function getMaxDataCaptureLength() As Integer
C#
public int getMaxDataCaptureLength()
C++
public:
 int getMaxDataCaptureLength() sealed 
J#
public int getMaxDataCaptureLength()
JScript
public  function getMaxDataCaptureLength() : int

Return Value

The current maximum buffer size (in bytes)

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
            int mdcl = screen.getMaxDataCaptureLength();
            
[VB]
 Copy Code
            Dim mdcl As Integer
            
            mdcl = screen.getMaxDataCaptureLength
            

See Also