Developer

API Reference

ITextModel_GetTextInfo()

Brew Release
Brew MP 1.0.2
See Also
Description
This function retrieves information about the text stored in a text model, including the current selection range and a pointer to the stored text.
Parameters
  • pif
    []:
    Pointer to the ITextModel interface object.
  • pTextInfo
    []:
    Pointer to a TextInfo data structure, which contains the parameters for the current selection, the length of the text, and a pointer to the stored text.
Interface
Prototype
   void ITextModel_GetTextInfo(ITextModel *pif, TextInfo *pTextInfo); 
Return
ITextModel_GetTextInfo() returns a pointer to a TextInfo data structure, which contains the start and end position of the current selection, the length of the text, and a pointer to the stored text.
Side Effect
None
Comment
None
  • Follow