Developer

API Reference

IRichTextModel_SetMarkupText()

Brew Release
Brew MP 1.0.2
See Also
- IRichTextModel Interface
- Tag
- IRichTextModel_GetMarkupText()
Description
This function sets the text and tags of the TextModel from the given serialized markup text.
Parameters
  • pif
    []:
    Pointer to the IRichTextModel interface object.
  • pwMText
    []:
    This is a pointer to the markup text. The markup text must be null terminated only if nMTextLength is negative.
  • nMTextLength
    []:
    This is the count of characters in the markup text. If this value is negative, then pwMText must be null terminated.
Prototype
   int IRichTextModel_SetMarkupText(IRichTextModel* pif, const AECHAR* pwMText, int nMTextLength);
Return
   AEE_SUCCESS  - The operation succeeded.
   AEE_EBADPARM - The operation failed due to an invalid parameter.
   AEE_EFAILED  - The operation failed, potentially due to invalid markup text.
Side Effect
None
Comment
See Tag for format of opening and closing tag used in markup text.
  • Follow