Please see line below:
if (doc.Range.FormFields[j].Type == Aspose.Words.FieldType.FieldFormCheckBox)
C:\AppSoft\Visual Studio Projects\FileTrax\Modules\Merge\Merges.cs(447,42): error CS0234: The type or namespace name ‘FieldType’ does not exist in the class or namespace ‘Aspose.Words’ (are you missing an assembly reference?)
I changed it to the following line and it compiled:
if (doc.Range.FormFields[j].Type == Aspose.Words.Fields.FieldType.FieldFormCheckBox)
Hi
Thanks for your inquiry. We have done some changes in API.
The breaking changes in Aspose.Words for .NET 5.0.0 are:
- All collection classes, such as Paragraphs, Runs, Tables, Bookmarks etc have been renamed into ParagraphCollection, RunCollection, TableCollection, BookmarkCollection, CellCollection accordingly.
- New namespaces Aspose.Words.Fields, Aspose.Words.Lists, Aspose.Words.Markup, Aspose.Words.Properties and Aspose.Words.Tables were introduced and classes moved into the new namespaces.
Best regards.