Click or drag to resize

BibTexExamplesExample5_SpecifyFormattingManually Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Example5s this instance.

Namespace:  imbSCI.BibTex
Assembly:  imbSCI.BibTex (in imbSCI.BibTex.dll) Version: 0.9.10.
Syntax
C#
public void Example5_SpecifyFormattingManually()
Request Example View Source
Examples

*

1var files = folderResources.findFiles("*.bib*", SearchOption.AllDirectories);
2                      var targetFolder = folderResults.Add("WithoutTemplate", "Without template", "Exporting Excel files without column data annotation template");
3                      BibTexTools.ExportToExcel(files, notation, log, null, targetFolder);
4                      targetFolder = folderResults.Add("WithTemplate", "With template", "Exporting Excel files with column data annotation template");
5                      // creating template from Type
6                      propertyAnnotationPreset template = new propertyAnnotationPreset(typeof(BibTexEntryModel));
7                      template.defaultItem.definitions.Add(templateFieldDataTable.columnWidth, 10);
8                      template.defaultItem.definitions.Add(templateFieldDataTable.col_color, "#FF6600");
9                      BibTexTools.ExportToExcel(files, notation, log, template, targetFolder);
See Also