Content
The SnomIPPhoneText (or IPPhoneText) tag shows arbitrary text
See examples for this tag below.
SnomIPPhoneText can contain any of the subtags from the Main Subtags list
In addition, it contains the following subtags:
The text to display. This tag contains mixed content.
Valid Subtags:
X coordinate of the text position
Y coordinate of the text position
Show image alongside the text
Valid Attributes:
Valid Subtags:
<?xml version="1.0" encoding="UTF-8"?> <SnomIPPhoneText> <Title>Demo</Title> <Text> Welcome to Snom! <br/> Hello World! </Text> </SnomIPPhoneText>
Result:
This section refers to the Image tag used as a SnomIPPhoneText subtag
<?xml version="1.0" encoding="UTF-8"?> <SnomIPPhoneText> <LocationX>145</LocationX> <LocationY>34</LocationY> <!-- use this value of LocationY to avoid conflict with upper bar --> <Text>Hello world:<br/>second line<br/>third line <br/>nothing to write<br/>no line</Text> <Image default="file:///bmp/colored/snom_photo_unknown.png"> <LocationX>2</LocationX> <LocationY>34</LocationY> <Url>https://service.snom.com/download/attachments/48400101/cloud.jpeg</Url> </Image> </SnomIPPhoneText>
Result:
Further Information
Related articles