获取word中配置的标签名称
using Aspose.Words; Document doc = new Document(txbFile.Text); List<string> listBookmark = new List<string>(); foreach (Aspose.Words.Bookmark bookmark in doc.Range.Bookmarks) { listBookmark.Add(bookmark.Name); } if (listBookmark.Contains("_GoBack")) { listBookmark.Remove("_GoBack"); }
https://files.cnblogs.com/files/slyzly/Aspose.Words.rar