Free Support Forum -

Bug report for Words.dll v21.4

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 
             FontSize2=   para.ParagraphFormat.Style.Font.Size 
              para.ParagraphFormat.Style.Font.Bold = true
                IsFontBold  =para.ParagraphFormat.Style.Font.Bold
             exit for

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.


Could you please ZIP and attach your input Word document here for testing? We will investigate the issue and provide you more information on it.