ne_gtxt_setPlainText

int sbne::ne_gtxt_setPlainText(NText *t, const std::string &plainText)

Sets the value of the “text” attribute of this NText object.

Parameters:
  • t – a pointer to the NText object.

  • plainText – a string to use as the value of the “text” attribute of this NText object.

Returns:

integer value indicating success/failure of the function.