Table of Contents

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

left string

The left part, or null.

center string

The centre part, or null.

right string

The right part, or null.

Returns

string

The header or footer.