L_INT LDicomAssociate::SetMaxLength(bEnabled, nLength)
Enables or disables the Maximum Length restriction for data transfer. It also sets the maximum length value if the restriction is enabled.
Flag that indicates whether to enable or disable the Maximum Length restriction. Possible values are:
|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.
|>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, ).
Required DLLs and Libraries
For an example, refer to LDicomAssociate::IsMaxLength.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries