p$TDV:SMPAPI:EtTxBast
p$TDV:SMPAPI:EtTxBast
Insert a text component. Any DocVariable fields are substituted by parameter values (update of all field functions of DocVariable type). Any other field functions are only updated when the document is finished.
The substitution of the DocVariable fields should normally be used directly when inserting the text component. In ePOS, the parameter values have to be defined when the functions are called.
Please note:
After inserting the first text component and calling the initialization function p$TDV:SMPAPI:EtTxInit with mode=0 the parameters must be set using the separate function p$TDV:SMPAPI:EtTxAktV!
Setting the parameters this way only applies to parameters belonging to a parameter group. All other parameter values can be set using p$TDV:SMPAPI:EtTxPar or p$TDV:SMPAPI:EtTxTxP, which has to occur before calling p$TDV:SMPAPI:EtTxBast, however.
Syntax: | p$TDV:SMPAPI:EtTxBast( Mode, Component ) | ||
| Argument | Type | Meaning |
| Mode | Integer | Switch for parameter analysis (array updating) |
| Component | String | Name of the text component without path information and without file extension |
Result: | - |
| |
Example: | p$TDV:SMPAPI:EtTxBast( 1, 'OffPos' ) | ||