DotMSN

TextMessage.Decorations Property

The decorations used in the message.

[Visual Basic]
Public Property Decorations As TextDecorations
[C#]
public TextDecorations Decorations {get; set;}

Remarks

When there are multiple decorations used the values are bitwise OR'ed! Example to check for bold:

if((Decorations & MSNTextDecorations.Bold) > 0) ....
If you want to use multiple decorations in a new message:
textMessage.Decorations = TextDecorations.Underline | TextDecorations.Italic

See Also

TextMessage Class | XihSolutions.DotMSN Namespace