Enables or disables the Maximum Length restriction for data transfer. It also sets the maximum length value if the restriction is enabled.
#include "ltdic.h"
L_INT LDicomAssociate::SetMaxLength(bEnabled, nLength)
Flag that indicates whether to enable or disable the Maximum Length restriction. Possible values are:
Value | Meaning |
---|---|
TRUE | Enable the Maximum Length restriction for data transfer. |
FALSE | Disable the Maximum Length restriction for data transfer. |
The maximum length value to set. This value is only valid if bEnabled is TRUE.
Value | Meaning |
---|---|
0 | SUCCESS |
>0 | An error occurred. Refer to Return Codes. |
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, ).
Win32, x64
For an example, refer to LDicomAssociate::IsMaxLength.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document