|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.ExcelRow
This class is a collection of cells. It allows to access the spreadsheet cells and to set the height of the row. Also, the row can be hidden and can have a style( font name, font size, font bold, font italic, word wrap, font underline style, font subscript, font superscript, font strikethrough, background color, foreground color, horizontal alignment, vertical alignment, number or date format, row cells locked or hidden, shrink, border type, border color).
Constructor Summary | |
ExcelRow()
Defines an instance of the row. |
Method Summary | |
bool |
AutoResize()
Returns true if the row height will be automatically computed. |
ExcelRow |
Clone()
Creates and returns a copy of this object. |
int |
Count()
Returns the number of cells on a row. |
void |
esd_addCell(ExcelCell cell)
Adds the specified cell to row. |
ExcelCell |
esd_getCell(int index)
If a cell does not exist at the specified index, it creates a cell, and returns the cell from the specified index. |
ExcelCell |
esd_getCellAt(int index)
Returns the cell from the specified index. |
void |
esd_insertCellAt(ExcelCell cell,
int index)
Inserts the specified cell at the specified index. |
void |
esd_removeCellAt(int index)
Removes the cell from the specified index |
void |
esd_setCellAt(ExcelCell cell,
int index)
Sets the specified cell at the specified index. |
System.Drawing.Color |
getBackground()
Returns the background color of the row. |
System.Drawing.Color |
getBottomColor_Border()
Returns the color of the bottom border. |
int |
getBottomStyle_Border()
Returns the style of the bottom border. |
System.String |
getDataType()
Returns the data type of the row. |
System.String |
getFont()
Returns the name of the row font. |
int |
getFontSize()
Returns the size of the row font. |
System.Drawing.Color |
getForeground()
Returns the foreground color of the row. |
System.String |
getFormat()
Returns the number/date format of the row. |
int |
getHeight()
Returns the height of the row. |
System.String |
getHorizontalAlignment()
Returns the horizontal alignment of the row. |
int |
getIndent()
Returns the indent of the row. |
System.Drawing.Color |
getLeftColor_Border()
Returns the color of the left border. |
int |
getLeftStyle_Border()
Returns the style of the left border. |
int |
getOutlineLevel()
Internal use only |
int |
getPattern()
Returns the pattern of the row. |
System.Drawing.Color |
getPatternColor()
Returns the pattern color of the row. |
System.Drawing.Color |
getRightColor_Border()
Returns the color of the right border. |
int |
getRightStyle_Border()
Returns the style of the right border. |
ExcelStyle |
getStyle()
Returns the style of the row. |
int |
getTextRotation()
Returns the text rotation of the row. |
System.Drawing.Color |
getTopColor_Border()
Returns the color of the top border. |
int |
getTopStyle_Border()
Returns the style of the top border. |
int |
getUnderlineStyle()
Returns the underline style of the row font. |
System.String |
getVerticalAlignment()
Returns the vertical alignment of the row. |
int |
getXF()
Internal use only |
bool |
IsBold()
Returns the bold setting of the row font. |
bool |
IsCollapsed()
Internal use only |
bool |
IsHiddenFormula()
Returns the hidden setting of the row. |
bool |
IsHiddenRow()
Returns the hidden option of the row. |
bool |
IsItalic()
Returns the italic setting of the row font. |
bool |
IsLocked()
Returns the locked setting of the row. |
bool |
IsShrink()
Returns the shrink setting of the row. |
bool |
IsStrikethrough()
Returns the strikethrough setting of the row font. |
bool |
IsSubscript()
Returns the subscript setting of the row font. |
bool |
IsSuperscript()
Returns the superscript setting of the row font. |
bool |
IsWrap()
Returns the wrap setting of the row. |
void |
setAutoResize(bool isAutoResize)
Sets the automatic calculation of the row height. |
void |
setBackground(System.Drawing.Color color)
Sets the background color of the row. |
void |
setBold(bool isBold)
Sets the bold option of the row font. |
void |
setBorderColors(System.Drawing.Color borderTop,
System.Drawing.Color borderBottom,
System.Drawing.Color borderLeft,
System.Drawing.Color borderRight)
Sets the border colors of the row. |
void |
setBorderStyles(int borderTop,
int borderBottom,
int borderLeft,
int borderRight)
Sets the border styles of the row. |
void |
setBottomColor_Border(System.Drawing.Color color)
Sets the color of the bottom border. |
void |
setBottomStyle_Border(int borderStyle)
Sets the style of the bottom border. |
void |
setCollapsed(bool isCollapsed)
Internal use only |
void |
setDataType(System.String dataType)
Sets the data type of the row. |
void |
setFont(System.String fontName)
Sets the name of the row font. |
void |
setFontSize(int fontSize)
Sets the size of the row font. |
void |
setForeground(System.Drawing.Color color)
Sets the foreground color of the row. |
void |
setFormat(System.String format)
Sets the number/date format of the row. |
void |
setHeight(int height)
Sets the height of the row. |
void |
setHiddenFormula(bool isHidden)
Sets the hidden option of the row. |
void |
setHiddenRow(bool isHidden)
Sets the hidden option of the row. |
void |
setHorizontalAlignment(System.String horizontalAlignment)
Sets the horizontal alignment of the row. |
void |
setIndent(int indent)
Sets the the indent of the row. |
void |
setItalic(bool isItalic)
Sets the italic option of the row font. |
void |
setLeftColor_Border(System.Drawing.Color color)
Sets the color of the left border. |
void |
setLeftStyle_Border(int borderStyle)
Sets the style of the left border. |
void |
setLocked(bool isLocked)
Sets the locked option of the row. |
void |
setOutlineLevel(int nOutlineLevel)
Internal use only |
void |
setPattern(int pattern)
Sets the pattern of the row. |
void |
setPatternColor(System.Drawing.Color color)
Sets the pattern color of the row. |
void |
setRightColor_Border(System.Drawing.Color color)
Sets the color of the right border. |
void |
setRightStyle_Border(int borderStyle)
Sets the style of the right border. |
void |
setShrink(bool isShrink)
Sets the shrink option of the row. |
void |
setStrikethrough(bool isStrikethrough)
Sets the strikethrough option of the row font. |
void |
setStyle(ExcelStyle xlsStyle)
Sets the style of the row. |
void |
setSubscript(bool isSubscript)
Sets the subscript option of the row font. |
void |
setSuperscript(bool isSuperscript)
Sets the superscript option of the row font. |
void |
setTextRotation(int textRotation)
Sets the text rotation of the row. |
void |
setTopColor_Border(System.Drawing.Color color)
Sets the color of the top border. |
void |
setTopStyle_Border(int borderStyle)
Sets the style of the top border. |
void |
setUnderlineStyle(int UnderlineStyle)
Sets the underline style of the row font. |
void |
setVerticalAlignment(System.String verticalAlignment)
Sets the vertical alignment of the row. |
void |
setWrap(bool isWrap)
Sets the wrap option of the row. |
void |
setXF(int xfIndex)
Internal use only |
Constructor Detail |
public ExcelRow()
Method Detail |
public ExcelCell esd_getCellAt(int index)
index
- the cell index
esd_setCellAt(ActiveXLS.ExcelCell, int)
,
esd_removeCellAt(int)
,
esd_insertCellAt(ActiveXLS.ExcelCell, int)
,
esd_addCell(ActiveXLS.ExcelCell)
,
esd_getCell(int)
public void esd_setCellAt(ExcelCell cell, int index)
cell
- the cellindex
- the index where the cell will be setesd_getCellAt(int)
,
esd_removeCellAt(int)
,
esd_insertCellAt(ActiveXLS.ExcelCell, int)
,
esd_addCell(ActiveXLS.ExcelCell)
,
esd_getCell(int)
public void esd_removeCellAt(int index)
index
- the index where the cell will be removed fromesd_getCellAt(int)
,
esd_setCellAt(ActiveXLS.ExcelCell, int)
,
esd_insertCellAt(ActiveXLS.ExcelCell, int)
,
esd_addCell(ActiveXLS.ExcelCell)
,
esd_getCell(int)
public void esd_insertCellAt(ExcelCell cell, int index)
cell
- the cell to be insertedindex
- the index where the cell will be insertedesd_getCellAt(int)
,
esd_setCellAt(ActiveXLS.ExcelCell, int)
,
esd_removeCellAt(int)
,
esd_addCell(ActiveXLS.ExcelCell)
,
esd_getCell(int)
public void esd_addCell(ExcelCell cell)
cell
- the cell to be addedesd_getCellAt(int)
,
esd_setCellAt(ActiveXLS.ExcelCell, int)
,
esd_removeCellAt(int)
,
esd_insertCellAt(ActiveXLS.ExcelCell, int)
,
esd_getCell(int)
public ExcelCell esd_getCell(int index)
index
- the cell index
esd_getCellAt(int)
,
esd_setCellAt(ActiveXLS.ExcelCell, int)
,
esd_removeCellAt(int)
,
esd_insertCellAt(ActiveXLS.ExcelCell, int)
,
esd_addCell(ActiveXLS.ExcelCell)
public int getHeight()
setHeight(int)
public void setHeight(int height)
height
- the height of the rowgetHeight()
public int Count()
public bool IsHiddenRow()
setHiddenRow(bool)
public void setHiddenRow(bool isHidden)
isHidden
- the hidden option of the rowIsHiddenRow()
public bool AutoResize()
setAutoResize(bool)
public void setAutoResize(bool isAutoResize)
isAutoResize
- automatic calculation of the row height.AutoResize()
public System.String getDataType()
DataType
class.
setDataType(System.String)
public void setDataType(System.String dataType)
DataType
class.
dataType
- the data type of the rowgetDataType()
public int getUnderlineStyle()
FontSettings
class.
setUnderlineStyle(int)
public void setUnderlineStyle(int UnderlineStyle)
FontSettings
class.
UnderlineStyle
- underline style of the row fontgetUnderlineStyle()
public int getFontSize()
setFontSize(int)
public void setFontSize(int fontSize)
fontSize
- the size of the row fontgetFontSize()
public System.String getFont()
setFont(System.String)
public void setFont(System.String fontName)
fontName
- the name of the row fontgetFont()
public bool IsStrikethrough()
setStrikethrough(bool)
public void setStrikethrough(bool isStrikethrough)
isStrikethrough
- the strikethrough option of the row fontIsStrikethrough()
public bool IsSubscript()
setSubscript(bool)
public void setSubscript(bool isSubscript)
isSubscript
- the subscript option of the row fontIsSubscript()
public bool IsSuperscript()
setSuperscript(bool)
public void setSuperscript(bool isSuperscript)
isSuperscript
- the superscript option of the row fontIsSuperscript()
public bool IsWrap()
setWrap(bool)
public void setWrap(bool isWrap)
isWrap
- the wrap option of the rowIsWrap()
public System.Drawing.Color getBackground()
setBackground(System.Drawing.Color)
public void setBackground(System.Drawing.Color color)
color
- the background color of the rowgetBackground()
public System.Drawing.Color getForeground()
setForeground(System.Drawing.Color)
public void setForeground(System.Drawing.Color color)
color
- the foreground color of the rowgetForeground()
public bool IsBold()
setBold(bool)
public void setBold(bool isBold)
isBold
- the bold option of the row fontIsBold()
public bool IsItalic()
setItalic(bool)
public void setItalic(bool isItalic)
isItalic
- the italic option of the row fontIsItalic()
public System.String getHorizontalAlignment()
Alignment
class.
setHorizontalAlignment(System.String)
public void setHorizontalAlignment(System.String horizontalAlignment)
Alignment
class.
horizontalAlignment
- the horizontal alignment of the rowgetHorizontalAlignment()
public System.String getVerticalAlignment()
Alignment
class.
setVerticalAlignment(System.String)
public void setVerticalAlignment(System.String verticalAlignment)
Alignment
class.
verticalAlignment
- the vertical alignment of the rowgetVerticalAlignment()
public int getTextRotation()
setTextRotation(int)
public void setTextRotation(int textRotation)
textRotation
- the text rotation of the rowgetTextRotation()
public int getIndent()
setIndent(int)
public void setIndent(int indent)
indent
- the indent of the row.getIndent()
public int getPattern()
setPattern(int)
public void setPattern(int pattern)
pattern
- the pattern of the rowgetPattern()
public System.Drawing.Color getPatternColor()
setPatternColor(System.Drawing.Color)
public void setPatternColor(System.Drawing.Color color)
color
- the pattern color of the rowgetPatternColor()
public System.String getFormat()
Format
class.
setFormat(System.String)
public void setFormat(System.String format)
Format
class.
format
- the number/date format of the rowgetFormat()
public bool IsLocked()
setLocked(bool)
public void setLocked(bool isLocked)
isLocked
- the locked option of the rowIsLocked()
public bool IsShrink()
setShrink(bool)
public void setShrink(bool isShrink)
isShrink
- the shrink option of the rowIsShrink()
public bool IsHiddenFormula()
setHiddenFormula(bool)
public void setHiddenFormula(bool isHidden)
isHidden
- the hidden option of the rowIsHiddenFormula()
public void setBorderStyles(int borderTop, int borderBottom, int borderLeft, int borderRight)
Border
class.
borderTop
- the border style for the top side of the cellborderBottom
- the border style for the bottom side of the cellborderLeft
- the border style for the left side of the cellborderRight
- the border style for the right side of the cell.getTopStyle_Border()
,
getBottomStyle_Border()
,
getLeftStyle_Border()
,
getRightStyle_Border()
,
setBorderColors(System.Drawing.Color, System.Drawing.Color, System.Drawing.Color, System.Drawing.Color)
public int getTopStyle_Border()
Border
class.
setTopStyle_Border(int)
public void setTopStyle_Border(int borderStyle)
Border
class.
borderStyle
- the style of the top bordergetTopStyle_Border()
public int getBottomStyle_Border()
Border
class.
setBottomStyle_Border(int)
public void setBottomStyle_Border(int borderStyle)
Border
class.
borderStyle
- the style of the bottom bordergetBottomStyle_Border()
public int getLeftStyle_Border()
Border
class.
setLeftStyle_Border(int)
public void setLeftStyle_Border(int borderStyle)
Border
class.
borderStyle
- the style of the left bordergetLeftStyle_Border()
public int getRightStyle_Border()
Border
class.
setRightStyle_Border(int)
public void setRightStyle_Border(int borderStyle)
Border
class.
borderStyle
- the style of the right bordergetRightStyle_Border()
public void setBorderColors(System.Drawing.Color borderTop, System.Drawing.Color borderBottom, System.Drawing.Color borderLeft, System.Drawing.Color borderRight)
borderTop
- the border color for the top side of the cellborderBottom
- the border color for the bottom side of the cellborderLeft
- the border color for the left side of the cellborderRight
- the border color for the right side of the cell.getTopColor_Border()
,
getBottomColor_Border()
,
getLeftColor_Border()
,
getRightColor_Border()
,
setBorderStyles(int, int, int, int)
public System.Drawing.Color getTopColor_Border()
setTopColor_Border(System.Drawing.Color)
public void setTopColor_Border(System.Drawing.Color color)
color
- the color of the top bordergetTopColor_Border()
public System.Drawing.Color getBottomColor_Border()
setBottomColor_Border(System.Drawing.Color)
public void setBottomColor_Border(System.Drawing.Color color)
color
- the color of the bottom bordergetBottomColor_Border()
public System.Drawing.Color getLeftColor_Border()
setLeftColor_Border(System.Drawing.Color)
public void setLeftColor_Border(System.Drawing.Color color)
color
- the color of the left bordergetLeftColor_Border()
public System.Drawing.Color getRightColor_Border()
setRightColor_Border(System.Drawing.Color)
public void setRightColor_Border(System.Drawing.Color color)
color
- the color of the right bordergetRightColor_Border()
public int getXF()
public void setXF(int xfIndex)
public ExcelStyle getStyle()
setStyle(ActiveXLS.ExcelStyle)
public void setStyle(ExcelStyle xlsStyle)
xlsStyle
- the style of the rowgetStyle()
public int getOutlineLevel()
public void setOutlineLevel(int nOutlineLevel)
public bool IsCollapsed()
public void setCollapsed(bool isCollapsed)
public ExcelRow Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |