Using Aspose.Words 14.9.0.0 I am find this text in an Aspose.Words.Document instantiated from an existing file after setting and validating my license.
Evaluation Only. Created with Aspose.Words. Copyright 2003-2014 Aspose Pty Ltd.
I am setting my license, checking if it is valid, then instantiating the Document.
Dim WordsLic As Aspose.Slides.License = New Aspose.Slides.License
WordsLic.SetLicense("Aspose.Total.lic")
Dim doc1 As New Aspose.Words.Document()
If Not WordsLic.IsLicensed() Then
Throw New Exception("Aspose.Words license invalid")
End If
doc1 = New Aspose.Words.Document("C:\temp\MSWordCreated.docx")
Dim rangetext As String = doc1.Range.Text.ToString()
The Range.Text is empty when the Document object is newly instantiated without any parameters but the “evaluation” message appears once the object is instantiated from an existing file.
I understand that I could manually set the range text to some other value to get rid of this unwanted message. My concern is knowing what other properties I have not specifically noticed may also contain some “evaluation” message even after I have properly set my license. I only stumbled on this value in the Document.Range by accident. I do not want evaluation messages appearing somewhere else in a document after I have legitimately licensed the product.
The documents I am opening were all created by MS Word 2010 so could not natively contain the Aspose message.
Please advise if there are other properties that may contain these messages. Also please consider fixing this so any “evaluation” text is cleared once a license has been properly applied.
Thank you for your consideration.