<Stn:FileItem PayUnits='Coin'>
File
Type: | String of any length |
Description: | A valid path to the bitmap file. If the path points to an invalid folder or image file, nothing will be rendered to the image area on the display. |
PayUnits
Type: | String of any length |
Description: | List of pay units that will make the linked image to be displayed. When listing more than one pay unit separate them with a comma |
Example 2
The next example is the image “ActivePayUnitImage” with different bitmap files specified for different pay unit combinations. The coin_card.bmp bitmap is displayed when both Coin and Card pay units are active (“Coin,Card” is the pay unit string). The coin.bmp bitmap is displayed when only Coin pay unit is active and card.bmp bitmap is displayed when only Card pay unit is displayed. All bitmaps are located in the folder \Storage Card\Media\pictures\. The name of the image is “ActivePayUnitImage” to enable the functionality to display different bitmaps for different active pay units in the Image control:
<Stn:Image Name='ActivePayUnitImage'
Location='50, 50’
Width='100'
Height='40'
File='\Storage Card\Media\pictures\default.bmp'>
<Files>
<Stn:FileItem PayUnits='Coin'
File='\Storage Card\Media\pictures\coin.bmp'/>
<Stn:FileItem PayUnits='Card'
File='\Storage Card\Media\pictures\coin.bmp'/>
<Stn:FileItem PayUnits='Coin,Card'
File='\Storage Card\Media\pictures\coin_card.bmp'/>
</Files>
</Stn:Image>