FieldIndexFormat
FieldIndexFormat enumeration
Biçimlendirmeyi belirtirFieldIndex
bir belgedeki alanlar.
public enum FieldIndexFormat
değerler
İsim | Değer | Tanım |
---|---|---|
Template | 0 | Şablondan. |
Classic | 1 | Klasik. |
Fancy | 2 | Süslü. |
Modern | 3 | Modern. |
Bulleted | 4 | Madde işaretli. |
Formal | 5 | Resmi. |
Simple | 6 | Basit. |
Örnekler
FieldIndex alanlarının nasıl biçimlendirileceğini gösterir.
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");
Ayrıca bakınız
- ad alanı Aspose.Words.Fields
- toplantı Aspose.Words