API Reference | developer.brewmp.com API Reference | developer.brewmp.com

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.
Params
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.
Interface
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
Comments
See Tag for format of opening and closing tag used in markup text.