Template Keywords

Image - dingbat

The /dingbat/ keyword draws a graphical icon. These are not icons from a font, but are geometric shapes drawn by SM-Reports.

/dingbat/,<dingbat type>,<left>,<top>,<right>,<bottom>

The left and top values specify the top left corner, and the right and bottom the bottom right corner of the frame.

The dingbat type can be one of the following:

block
check
circle
diamond
hbar
larrow
rarrow
ring
shade
vbar

The size of the dingbat is determined by the size of the frame. The shape stretches to fit the area.

Example

Dingbats are used by gauge drawn with the /hgraph/ so this example shows how they can be used as a key for the gauge.

/graph/,frame,range,circle,average,area,percent
/****/,preview,graph,1,100
/hgraph/,level21,1,0,0,800,50
/offset/,0,200,relative
/sans/,10
/format/,right,singleline,vcenter
/text/,0,0,200,50,Average Mark
/dingbat/,vbar,200,0,250,50
/offset/,300,0,relative
/text/,0,0,200,50,Student's Mark
/dingbat/,circle,250,10,270,30
/offset/,350,0,relative
/text/,0,0,400,50,Range of student achievement
/dingbat/,shade,430,0,500,50

 

Contents
Search