LAnnAutomation::DeleteTextTokenTable
#include "ltwrappr.h"
virtual L_INT LAnnAutomation::DeleteTextTokenTable(cToken)
L_TCHAR cToken; |
/* character representing the token to delete from the text token table */ |
Call this function to delete a text token from the annotation text token table. This function is available in the Document/Medical Toolkits.
Parameter |
Description |
cToken |
Character representing the token to delete from the text token table. For example, to delete token "#c" from the text token table, pass ‘c’ for cToken. |
Returns
SUCCESS |
The function was successful. |
< 1 |
An error occurred. Refer to Return Codes. |
Comments
Call this function to delete the token #<cToken> from the text token table.
This function returns SUCCESS if cToken is successfully deleted, or if cToken was not already in the text token table. This function is used with the text annotation objects that support tokens, namely the following:
LAnnAutomation
LAnnButton
LAnnNote
LAnnPushPin
LAnnStamp
LAnnText
LAnnTextPointer
Required DLLs and Libraries
LTANN 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: |
|
Topics: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
// The predefined Text Token Table has 'Y' defined to be the four digit year
// This sample deletes this token from the token table
L_VOID SampleAnnDeleteTextTokenTable(LAnnAutomation *pLAutomation)
{
pLAutomation->DeleteTextTokenTable('Y');
}