Sets the extended data associated with the specified Presentation Context.
public void SetExtendedData(
byte id,
IntPtr data,
int dataLength
)
Public Overloads Sub SetExtendedData( _
ByVal id As Byte, _
ByVal data As IntPtr, _
ByVal dataLength As Integer _
)
public:
void SetExtendedData(
byte id,
IntPtr data,
int dataLength
)
id
Presentation Context ID of the Presentation Context to which to set 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.
data
Pointer to a buffer that contains the data to set.
dataLength
Length of the data.
To retrieve the length of the extended data associated with a Presentation Context, call GetExtendedDataLength. To get the extended data associated with a Presentation Context, call GetExtendedData or GetExtendedDataPtr.
For an example, refer to IsRoleSelect.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET