Method ComposeHeaderFooter
- Namespace
- DocWright.Spreadsheet
- Assembly
- DocWright.Spreadsheet.dll
ComposeHeaderFooter(string?, string?, string?)
Returns a header or footer of three parts in Excel's notation: &L, &C and &R
before each part that is not empty. Each part is already in the notation (escape plain text with
EscapeHeaderFooterText(string)).
public static string ComposeHeaderFooter(string? left, string? center, string? right)
Parameters
leftstringThe left part, or null.
centerstringThe centre part, or null.
rightstringThe right part, or null.
Returns
- string
The header or footer.