FieldIncludeTextConverter Property

Gets or sets the name of the text converter for the format of the included file.

Namespace:  Aspose.Words.Fields
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public string TextConverter { get; set; }

Property Value

Type: String
Examples
Shows how to create an INCLUDE field and set its properties.
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");
See Also