LDicomAssociate::IsImplementVersion
#include "ltdic.h"
L_BOOL LDicomAssociate::IsImplementVersion(L_VOID)
Determines whether setting the Implementation Version is enabled for the DICOM Associate.
Returns
TRUE |
Setting the Implementation Version is enabled. |
FALSE |
Setting the Implementation Version is disabled. |
Comments
If setting the Implementation Version is enabled, the name may be retrieved using LDicomAssociate::GetImplementVersion, or set using LDicomAssociate::SetImplementVersion.
Required DLLs and Libraries
LTDIC For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application |
See Also
Functions: |
LDicomAssociate::GetImplementVersion, LDicomAssociate::SetImplementVersion |
Topics: |
Example
{
//m_pDicomAssociate is a member variable declared as:
// LDicomAssociate *m_pDicomAssociate;
CString strVersion, strMsg;
int nRet;
//...Assume associate object has been created
if (m_pDicomAssociate->IsImplementVersion())
{
//disable it and display old value
strVersion = m_pDicomAssociate->GetImplementVersion();
nRet = m_pDicomAssociate->SetImplementVersion( FALSE, (L_CHAR *)(LPCTSTR)strVersion);
strMsg = "ImplementVersion Disabled: \n" + strVersion;
AfxMessageBox(strMsg);
}
else
{
//enable it
nRet = m_pDicomAssociate->SetImplementVersion( TRUE, "v13.0");
strVersion = m_pDicomAssociate->GetImplementVersion();
strMsg = "ImplementVersion Enabled: \n" + strVersion;
AfxMessageBox(strMsg);
}
}