Private Sub Page1_Resize(Width As Int, Height As Int)
Dim rs As RichString
rs.Initialize(Label1.Text)
rs.Color(Colors.Red, 0, 4).Color(Colors.Blue, 4, 8).SetFont(Font.CreateNewBold(30), 1, 5)
rs.Strikethrough(True, 5, 10)
rs.Underline(True, Colors.Blue, 0, 10)
rs.SetFont(Font.CreateNewItalic(20), 0, rs.Text.Length-5)
rs.SetFont(Font.CreateNewBold(30), 4, 7)
rs.BackgroundColor(0xFFC0C000, 5, 20)
rs.SetToLabel(Label1)
End Sub