Leadtools.Dicom Requires Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
MaxLength Property
See Also 
Leadtools.Dicom Namespace > DicomAssociate Class : MaxLength Property




Gets or sets the Maximum Length for data transfer.

Syntax

Visual Basic (Declaration) 
Public Property MaxLength As Integer
Visual Basic (Usage)Copy Code
Dim instance As DicomAssociate
Dim value As Integer
 
instance.MaxLength = value
 
value = instance.MaxLength
C# 
public int MaxLength {get; set;}
Managed Extensions for C++ 
public: __property int get_MaxLength();
public: __property void set_MaxLength( 
   int value
);
C++/CLI 
public:
property int MaxLength {
   int get();
   void set (int value);
}

Return Value

The Maximum Length for data transfer. A value of -1 means that the Maximum Length restriction is disabled; otherwise, the Maximum Length must be 0, or >= 8 and it must be an even number (8, 10, 12, …).

Example

For an exmple, refer to SendCEchoRequest.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Dicom requires a Medical toolkit license and unlock key. For more information, refer to: Raster Pro/Document/Medical Features