|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.ExcelHeader
This class stores the header information extends text, position (left, center, or right), font name, font size, underline, strikethrough, superscript, subscript, page number, the number of pages, date and time, file name.
Constructor Summary | |
ExcelHeader()
Defines an instance of the header. |
|
ExcelHeader(System.String text,
System.String position)
Defines an instance of the header having the specified text and position. |
|
ExcelHeader(System.String text,
System.String position,
System.String fontName,
int fontSize,
bool isBold,
bool isItalic)
Defines an instance of the header having the specified text, position and font settings. |
Method Summary | |
ExcelHeader |
Clone()
Creates and returns a copy of this object. |
System.String |
getHeaderString()
Returns the header expression. |
System.String |
getPosition()
Returns the position of the header. |
void |
InsertBold()
Sets the bold style for the values that will follow the insertion. |
void |
InsertDate()
Appends the date to header expression. |
void |
InsertDoubleUnderline()
Sets the double underline style for the values that will follow the insertion. |
void |
InsertEnter()
Appends the enter character to header expression. |
void |
InsertFile()
Appends the file name to header expression. |
void |
InsertFont(System.String fontType)
Sets the font type for the values that will follow the font insertion. |
void |
InsertFontSize(int fontSize)
Sets the font size for the values that will follow the font size insertion. |
void |
InsertItalic()
Sets the italic style for the values that will follow the insertion. |
void |
InsertPage()
Appends the page number to header expression. |
void |
InsertPages()
Appends the total number of pages to header expression. |
void |
InsertSingleUnderline()
Sets the single underline style for the values that will follow the insertion. |
void |
InsertStrikethrough()
Sets the strikethrough style for the values that will follow the insertion. |
void |
InsertSubscript()
Sets the subscript style for the values that will follow the insertion. |
void |
InsertSuperscript()
Sets the superscript style for the values that will follow the insertion. |
void |
InsertTab()
Appends the tab character to header expression. |
void |
InsertTime()
Appends the date time to header expression. |
void |
InsertValue(System.String value)
Appends a string to header expression. |
void |
RemoveBold()
Removes the bold style for the values that will follow the insertion. |
void |
RemoveDoubleUnderline()
Removes the double underline style for the values that will follow the insertion. |
void |
RemoveItalic()
Removes the italic style for the values that will follow the insertion. |
void |
RemoveSingleUnderline()
Removes the single underline style for the values that will follow the insertion. |
void |
RemoveStrikethrough()
Removes the strikethrough style for the values that will follow the insertion. |
void |
RemoveSubscript()
Removes the subscript style for the values that will follow the insertion. |
void |
RemoveSuperscript()
Removes the superscript style for the values that will follow the insertion. |
void |
Reset()
Clears the header expression. |
void |
setHeaderString(System.String text)
Sets the header expression. |
void |
setPosition(System.String position)
Sets the position of the header. |
Constructor Detail |
public ExcelHeader()
public ExcelHeader(System.String text, System.String position)
text
- the text from the headerposition
- the position of the header. Possible values are available in Header
class.public ExcelHeader(System.String text, System.String position, System.String fontName, int fontSize, bool isBold, bool isItalic)
text
- the text from the headerposition
- the position of the header. Possible values are available in Header
class.fontName
- the font name of the headerfontSize
- the font size of the headerisBold
- the bold option of the headerisItalic
- the italic option of headerMethod Detail |
public System.String getHeaderString()
setHeaderString(System.String)
public void setHeaderString(System.String text)
text
- the header expressiongetHeaderString()
public System.String getPosition()
Header
class.
setPosition(System.String)
public void setPosition(System.String position)
Header
class.
position
- the position of the headergetPosition()
public void InsertValue(System.String value)
value
- the value to be insertedpublic void InsertFont(System.String fontType)
fontType
- the font typepublic void InsertFontSize(int fontSize)
fontSize
- the font sizepublic void InsertSingleUnderline()
RemoveSingleUnderline()
public void RemoveSingleUnderline()
InsertSingleUnderline()
public void InsertDoubleUnderline()
RemoveDoubleUnderline()
public void RemoveDoubleUnderline()
InsertDoubleUnderline()
public void InsertStrikethrough()
RemoveStrikethrough()
public void RemoveStrikethrough()
InsertStrikethrough()
public void InsertSuperscript()
RemoveSuperscript()
public void RemoveSuperscript()
InsertSuperscript()
public void InsertSubscript()
RemoveSubscript()
public void RemoveSubscript()
InsertSubscript()
public void InsertBold()
RemoveBold()
public void RemoveBold()
InsertBold()
public void InsertItalic()
RemoveItalic()
public void RemoveItalic()
InsertItalic()
public void InsertPage()
public void InsertPages()
public void InsertDate()
public void InsertTime()
public void InsertFile()
public void InsertTab()
public void InsertEnter()
public void Reset()
public ExcelHeader Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |