• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class HeaderFooter

Represents the header footer class used by the spreadsheet model.

Inheritance
object
HeaderFooter
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public class HeaderFooter

Constructors

HeaderFooter()

Represents the header footer class used by the spreadsheet model.

Declaration
public HeaderFooter()

Properties

CenterSection

Exposes the center section associated with HeaderFooter.

Declaration
public string CenterSection { get; set; }
Property Value
Type Description
string

LeftSection

Exposes the left section associated with HeaderFooter.

Declaration
public string LeftSection { get; set; }
Property Value
Type Description
string

RightSection

Exposes the right section associated with HeaderFooter.

Declaration
public string RightSection { get; set; }
Property Value
Type Description
string

Methods

AppendCenter(string)

Appends text to the center section of this header/footer.

Declaration
public HeaderFooter AppendCenter(string text)
Parameters
Type Name Description
string text
Returns
Type Description
HeaderFooter

AppendCenterField(string)

Appends a header/footer field (e.g. PageNumber) to the center section.

Declaration
public HeaderFooter AppendCenterField(string field)
Parameters
Type Name Description
string field
Returns
Type Description
HeaderFooter

AppendLeft(string)

Appends text to the left section of this header/footer.

Declaration
public HeaderFooter AppendLeft(string text)
Parameters
Type Name Description
string text
Returns
Type Description
HeaderFooter

AppendLeftField(string)

Appends a header/footer field (e.g. PageNumber) to the left section.

Declaration
public HeaderFooter AppendLeftField(string field)
Parameters
Type Name Description
string field
Returns
Type Description
HeaderFooter

AppendRight(string)

Appends text to the right section of this header/footer.

Declaration
public HeaderFooter AppendRight(string text)
Parameters
Type Name Description
string text
Returns
Type Description
HeaderFooter

AppendRightField(string)

Appends a header/footer field (e.g. PageNumber) to the right section.

Declaration
public HeaderFooter AppendRightField(string field)
Parameters
Type Name Description
string field
Returns
Type Description
HeaderFooter

GetText()

Retrieves the requested text from HeaderFooter.

Declaration
public string GetText()
Returns
Type Description
string

The get text returned by the operation.

Parse(string)

Exposes the parse associated with HeaderFooter.

Declaration
public void Parse(string text)
Parameters
Type Name Description
string text

The text used by the operation.

Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX