SpreadsheetGear 2017
RightHeader Property (IPageSetup)






SpreadsheetGear Namespace > IPageSetup Interface : RightHeader Property
Gets or sets the right header for printing.
Syntax
'Declaration
 
Property RightHeader As System.String
'Usage
 
Dim instance As IPageSetup
Dim value As System.String
 
instance.RightHeader = value
 
value = instance.RightHeader
System.string RightHeader {get; set;}
read-write property RightHeader: System.String; 
function get,set RightHeader : System.String
__property System.string* get_RightHeader();
__property void set_RightHeader( 
   System.string* value
);
property System.String^ RightHeader {
   System.String^ get();
   void set (    System.String^ value);
}
Remarks

The RightHeader 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.

Requirements

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

Reference

IPageSetup Interface
IPageSetup Members