SpreadsheetGear 2023
RightFooter Property (IPageSetup)

SpreadsheetGear Namespace > IPageSetup Interface : RightFooter Property
Gets or sets the right footer for printing.
Property RightFooter As System.String
Dim instance As IPageSetup
Dim value As System.String
instance.RightFooter = value
value = instance.RightFooter
System.string RightFooter {get; set;}

The RightFooter property takes a number of special codes:

  • &P - the current page number.
  • &N - the total number of pages.
  • &B - use a bold font*.
  • &I - use an italic font*.
  • &U - use an underline font*.
  • && - the '&' character.
  • &D - the current date.
  • &T - the current time.
  • &F - workbook name.
  • &A - worksheet name.
  • &"FontName" - use the specified font name*.
  • &N - use the specified font size*.

* Font codes appearing after any text or non-font codes will be ignored by SpreadsheetGear's printing engine.


Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also


IPageSetup Interface
IPageSetup Members