LEADTOOLS Medical (Leadtools.Dicom assembly)

Insert Method (DicomVRTable)

Show in webframe







Code that indicates the type of value to be stored in the data element.
The name of the value representation. For examples of Value Representation Names, refer to the Default Value Representation Table.
The length of the value to be stored in the data element
Restrictions on the length.
The size of the smallest item to be stored in the value field of the data element
Inserts a new item in the Value Representation Table.
Syntax
public DicomVR Insert( 
   DicomVRType code,
   string name,
   int length,
   DicomVRRestriction restriction,
   int unitSize
)
'Declaration
 
Public Function Insert( _
   ByVal code As DicomVRType, _
   ByVal name As String, _
   ByVal length As Integer, _
   ByVal restriction As DicomVRRestriction, _
   ByVal unitSize As Integer _
) As DicomVR
'Usage
 
Dim instance As DicomVRTable
Dim code As DicomVRType
Dim name As String
Dim length As Integer
Dim restriction As DicomVRRestriction
Dim unitSize As Integer
Dim value As DicomVR
 
value = instance.Insert(code, name, length, restriction, unitSize)
public DicomVR Insert( 
   DicomVRType code,
   string name,
   int length,
   DicomVRRestriction restriction,
   int unitSize
)

            
public DicomVr insert(DicomVrType code, String name, int length, DicomVrRestriction restriction, int unitSize)
 function Leadtools.Dicom.DicomVRTable.Insert( 
   code ,
   name ,
   length ,
   restriction ,
   unitSize 
)
public:
DicomVR^ Insert( 
   DicomVRType code,
   String^ name,
   int length,
   DicomVRRestriction restriction,
   int unitSize
) 

Parameters

code
Code that indicates the type of value to be stored in the data element.
name
The name of the value representation. For examples of Value Representation Names, refer to the Default Value Representation Table.
length
The length of the value to be stored in the data element
restriction
Restrictions on the length.
unitSize
The size of the smallest item to be stored in the value field of the data element

Return Value

DicomVR class if the method was successful; otherwise, null.
Remarks
Example
For an example, refer to Reset.
Requirements

Target Platforms

See Also

Reference

DicomVRTable Class
DicomVRTable Members
Delete Method
Reset Method
Default Method

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

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