Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Finds the expansion of a token.
Syntax
protected str expandToken(SrsPrintDestinationToken _token, SRSPrintDestinationSettings _settings)
Run On
Called
Parameters
- _token
Type: SrsPrintDestinationToken Extended Data Type
A token.
- _settings
Type: SRSPrintDestinationSettings Class
A instance of class SRSPrintDestinationSettings
Return Value
Type: str
The expanded token.
Exceptions
Exception | Condition |
---|---|
Error | An supported SRSPrintMediumType enum value was specifid in _settings. |
Remarks
The expansion is controlled by the chain of responsibility. Tokens that may have meaning to more than one token type will be expanded by the earliest token type on the chain.