LEADTOOLS Medical (Leadtools.Dicom assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
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;}
C++/CLI 
public:
property int MaxLength {
   int get();
   void set (    int value);
}

Property 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 example, refer to DicomNet.SendCEchoRequest.

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

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