getMaxDataCaptureLength Method

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.
Public Function getMaxDataCaptureLength() As Integer
Dim instance As ScreenUPG 
Dim value As Integer 
value = instance.getMaxDataCaptureLength()
public int getMaxDataCaptureLength()
int getMaxDataCaptureLength(); 

Return Value

The current maximum buffer size (in bytes)
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.
int mdcl = screen.getMaxDataCaptureLength();
Dim mdcl As Integer
mdcl = screen.getMaxDataCaptureLength

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


ScreenUPG Class
ScreenUPG Members
clearCapturedData Method
getCapturedData Method
getCapturedBytes Method
getCapturedJavaBytes Method
getDataCapture Method
setDataCapture Method
setDataCaptureEx Method
setMaxDataCaptureLength Method