Gets or sets the text content.

Example - change content

<div id="surface"></div>
    var draw = kendo.drawing;
    var geom = kendo.geometry;

    var position = new geom.Point(10, 10);
    var text = new draw.Text("", position);

    var surface = draw.Surface.create($("#surface"));

    setInterval(function() {
        text.content(kendo.toString(new Date(), "T"));
    }, 1000);


value StringThe new text content to set.

ReturnsString The current content of the text.

In this article
Not finding the help you need? Improve this article