Skip to main content

XlHeaderFooter.FromLCR(String, String, String) Method

Specifies the left-aligned, centered and right-aligned text for the header of footer.

Namespace: DevExpress.Export.Xl

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

public static string FromLCR(
    string leftPart,
    string centerPart,
    string rightPart
)

Parameters

Name Type Description
leftPart String

A System.String that specifies the text to be displayed in the left header or footer section.

centerPart String

A System.String that specifies the text to be displayed in the center header or footer section.

rightPart String

A System.String that specifies the text to be displayed in the right header or footer section.

Returns

Type Description
String

A System.String that represents the resulting text string included in the header or footer.

Remarks

Use the XlHeaderFooter class fields to insert special header and footer codes that allow displaying dynamic information in the header or footer (the current date and time, page number, worksheet name and so on).

The following code snippets (auto-collected from DevExpress Examples) contain references to the FromLCR(String, String, String) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also