ne_go_getText

NText *sbne::ne_go_getText(NGraphicalObject *gO, const unsigned int &index = -1, const std::string &textglyphId = "")

Gets the indexth NText object of this NGraphicalObject object.

Parameters:
  • gO – a pointer to the NGraphicalObject object.

  • index – the index of the NText object to return.

  • glyphId – a string containing the glyph id of the NText object to return, used if the index is not given.

Returns:

a pointer to either the indexth NText object or the one with provided id of this NGraphicalObject object.