FieldIndexFormat
FieldOptions.FieldIndexFormat property
Ottiene o imposta aFieldIndexFormat
che rappresenta la formattazione per ilFieldIndex
campi nel documento.
public FieldIndexFormat FieldIndexFormat { get; set; }
Esempi
Mostra come formattare i campi FieldIndex.
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
builder.Write("A");
builder.InsertBreak(BreakType.LineBreak);
builder.InsertField("XE \"A\"");
builder.Write("B");
builder.InsertField(" INDEX \\e \" · \" \\h \"A\" \\c \"2\" \\z \"1033\"", null);
doc.FieldOptions.FieldIndexFormat = FieldIndexFormat.Fancy;
doc.UpdateFields();
doc.Save(ArtifactsDir + "Field.SetFieldIndexFormat.docx");
Guarda anche
- enum FieldIndexFormat
- class FieldOptions
- spazio dei nomi Aspose.Words.Fields
- assemblea Aspose.Words