Meeting SDK for Windows API Reference
Loading...
Searching...
No Matches
IRichTextStyleOffset Class Referenceabstract

Chat message rich text style offset. More...

#include <meeting_chat_interface.h>

Public Member Functions

virtual unsigned int GetPositionStart ()=0
 Gets the start position of a certain rich-text style.
 
virtual unsigned int GetPositionEnd ()=0
 Gets the end position of a certain rich-text style.
 
virtual const zchar_tGetReserve ()=0
 Gets the supplementary information of a certain rich-text style.
 

Detailed Description

Chat message rich text style offset.

Definition at line 266 of file meeting_chat_interface.h.

Member Function Documentation

◆ GetPositionEnd()

virtual unsigned int IRichTextStyleOffset::GetPositionEnd ( )
pure virtual

Gets the end position of a certain rich-text style.

Returns
If the function succeeds, it returns the end position of the specified rich-text style. Otherwise, this function returns -1.

◆ GetPositionStart()

virtual unsigned int IRichTextStyleOffset::GetPositionStart ( )
pure virtual

Gets the start position of a certain rich-text style.

Returns
If the function succeeds, it returns the start position of the specified rich-text style. Otherwise, this function returns -1.

◆ GetReserve()

virtual const zchar_t * IRichTextStyleOffset::GetReserve ( )
pure virtual

Gets the supplementary information of a certain rich-text style.

Returns
If the function succeeds, it returns the supplementary information of the specified rich-text style. Otherwise, this function fails and returns nullptr. If the style is TextStyle_FontSize, possible return values are FontSize_Small, FontSize_Medium, or FontSize_Large. If the style is TextStyle_Paragraph, possible return values are Paragraph_H1, Paragraph_H2, or Paragraph_H3. If the style is TextStyle_FontColor or TextStyle_BackgroundColor, possible return values are hex string representing standard RGB data. If the function fails, the return value is a string of length zero(0).