FieldIncludeTextConverter Property |
Namespace: Aspose.Words.Fields
Document doc = new Document(); DocumentBuilder builder = new DocumentBuilder(doc); // Add an INCLUDE field with document builder and import a portion of the document defined by a bookmark FieldInclude fieldInclude = (FieldInclude)builder.InsertField(FieldType.FieldInclude, true); fieldInclude.SourceFullName = MyDir + "Bookmarks.docx"; fieldInclude.BookmarkName = "MyBookmark1"; fieldInclude.LockFields = false; fieldInclude.TextConverter = "Microsoft Word"; doc.UpdateFields(); doc.Save(ArtifactsDir + "Field.INCLUDE.docx");