Hi, Support:
Is this a bug?
Dim Doc As New Aspose.Words.Document("C:\Temp\Test.docx")
Dim FontSize as integer
Dim FontSize2 as integer
Dim IsFontBold as boolean
For Each para As Global.Aspose.Words.Paragraph In Doc.FirstSection.Body.GetChildNodes(Global.Aspose.Words.NodeType.Paragraph, True)
FontSize = para.ParagraphFormat.Style.Font.Size
para.ParagraphFormat.Style.Font.Size=40
FontSize2= para.ParagraphFormat.Style.Font.Size
para.ParagraphFormat.Style.Font.Bold = true
IsFontBold =para.ParagraphFormat.Style.Font.Bold
exit for
Next
Doc.Save("C:\Temp\Test.docx")
Bugs ?
Why the FontSize2 is equal to FontSize , whereas the FontSize2 should be 40?
Why the IsFontBold is equal to false , whereas the IsFontBold should be true?
Are they bugs? Please investigate it.