SetMaxLength method (ILEADDicomNet)

VB.NET example

C# example

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short SetMaxLength (long hPDU, BOOL bEnabled, long lLength);

Overview

Refer to Working with DICOM Associate Connections.

Remarks

Enables or disables the Maximum Length restriction for data transfer. It also sets the maximum length value if the restriction is enabled.

If the Maximum Length restriction is enabled the Maximum Length must be 0, or >= 8 and it must be an even number (8, 10, 12, …).

See Also

Elements:

IsMaxLengthEnabled method, GetMaxLength method

Topics:

DICOM Associate Connection: Modifying a DICOM Associate Handle