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.v21.1.Core.dll

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).

See Also