LEADTOOLS Medical (Leadtools.Dicom assembly)

GetExtendedDataLength Method

Show in webframe







Presentation Context ID of the Presentation Context from which to retrieve the length of the extended data. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.
Gets the length of the extended data associated with the specified Presentation Context.
Syntax
public int GetExtendedDataLength( 
   byte id
)
'Declaration
 
Public Function GetExtendedDataLength( _
   ByVal id As Byte _
) As Integer
'Usage
 
Dim instance As DicomAssociate
Dim id As Byte
Dim value As Integer
 
value = instance.GetExtendedDataLength(id)
public int GetExtendedDataLength( 
   byte id
)

            

            
 function Leadtools.Dicom.DicomAssociate.GetExtendedDataLength( 
   id 
)
public:
int GetExtendedDataLength( 
   byte id
) 

Parameters

id
Presentation Context ID of the Presentation Context from which to retrieve the length of the extended data. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. It also identifies a specific Presentation Context within an Associate.

Return Value

The length of the extended data of the specified Presentation Context of the DICOM Associate.
Remarks
To retrieve the extended data associated with a Presentation Context, call GetExtendedData or GetExtendedDataPtr.

To set the extended data associated with a Presentation Context, call SetExtendedData(Byte,Byte[]).

Example
For an example, refer to IsRoleSelect.
Requirements

Target Platforms

See Also

Reference

DicomAssociate Class
DicomAssociate Members
GetExtendedDataPtr Method
GetExtendedData Method
SetExtendedData(Byte,Byte[]) 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