I am unable to set properties such as FontBold, FontItalic, etc on portions that are a part of a Paragraph that contains existing Portions. The members are marked as RW, however they cannot be set.
Here's an example:
Dim tCell As Cell
Dim tPara As Paragraph = New Paragraph
Dim tPort As Portion = New Portion
tCell.Paragraphs.clear()
tPara.Portions.clear()
tPort.FontBold = False
tPort.Text = "Hello"
tPara.Portions.Add(tPort)
tPort = New Portion
tPort.FontBold = True
tPort.Text = " World!"
tPara.Portions.Add(tPort)
tCell.Paragraphs.Add(tPara)
In this example, "Hello" will not be bold (as expected), but "World!" will not be bold either. If this is by design, then what is the point of having 'portions' which are defined in the Aspose.Slides documentation as segments of a line(Paragraph) with different formatting?