text

Typeproperty
Dictionarywidget.circleavatar
LibraryCircle Avatar
Syntax
set the text of widget to <string>
get the text of widget
Associationscom.livecode.widget.circleavatar
Summary

Specifies the text contained by avatar image.

OSmac, windows, linux, ios, android, web
Platformsdesktop, mobile, web
Example
set the text of widget "Circle Avatar" to URL "binfile:/HD/Projects/blipvert.gif"
Description

The text of an avatar image is the binary data that makes up the image. The following formats are supported:

Fully Supported Formats Setting the text to one of these formats displays the image as expected and sets the paintCompression to the correct type automatically. The data is also preserved meaning that getting the text returns the original data unchanged.

  • GIF (All platforms)
  • JPEG (All platforms)
  • PNG (All platforms)
  • WMF (Windows only - Windows Metafile)
  • EMF (Windows only - Windows Enhanced Metafile)