|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.ExcelColumn
This class stores the column information extends width and format (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, column cells locked or hidden, shrink, border type, border color).
Constructor Summary | |
ExcelColumn()
Defines an instance of the Excel column. |
Method Summary | |
ExcelColumn |
Clone()
Creates and returns a copy of this object. |
int |
Count()
Returns the number of cells contained by the column. |
System.Drawing.Color |
getBackground()
Returns the background color of the column. |
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 column. |
System.String |
getFont()
Returns the name of the column font. |
int |
getFontSize()
Returns the size of the column font. |
System.Drawing.Color |
getForeground()
Returns the foreground color of the column. |
System.String |
getFormat()
Returns the number/date format of the column. |
System.String |
getHorizontalAlignment()
Returns the horizontal alignment of the column. |
int |
getIndent()
Returns the indent of the column. |
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 column. |
System.Drawing.Color |
getPatternColor()
Returns the pattern color of the column. |
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 column. |
int |
getTextRotation()
Returns the text rotation of the column. |
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 column font. |
System.String |
getVerticalAlignment()
Returns the vertical alignment of the column. |
int |
getWidth()
Returns the width of the column. |
int |
getXF()
Internal use only |
bool |
IsBold()
Returns the bold setting of the column font. |
bool |
IsCollapsed()
Internal use only |
bool |
IsHiddenColumn()
Returns the hidden option of the column. |
bool |
IsHiddenFormula()
Returns the hidden setting of the column. |
bool |
IsItalic()
Returns the italic setting of the column font. |
bool |
IsLocked()
Returns the locked setting of the column. |
bool |
IsShrink()
Returns the shrink setting of the column. |
bool |
IsStrikethrough()
Returns the strikethrough setting of the column font. |
bool |
IsSubscript()
Returns the subscript setting of the column font. |
bool |
IsSuperscript()
Returns the superscript setting of the column font. |
bool |
IsWrap()
Returns the wrap setting of the column. |
void |
setBackground(System.Drawing.Color color)
Sets the background color of the column. |
void |
setBold(bool isBold)
Sets the bold option of the column 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 column. |
void |
setBorderStyles(int borderTop,
int borderBottom,
int borderLeft,
int borderRight)
Sets the border styles of the column. |
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 column. |
void |
setFont(System.String fontName)
Sets the name of the column font. |
void |
setFontSize(int fontSize)
Sets the size of the column font. |
void |
setForeground(System.Drawing.Color color)
Sets the foreground color of the column. |
void |
setFormat(System.String format)
Sets the number/date format of the column. |
void |
setHiddenColumn(bool isHidden)
Sets the hidden option of the column. |
void |
setHiddenFormula(bool isHidden)
Sets the hidden option of the column. |
void |
setHorizontalAlignment(System.String horizontalAlignment)
Sets the horizontal alignment of the column. |
void |
setIndent(int indent)
Sets the the indent of the column. |
void |
setItalic(bool isItalic)
Sets the italic option of the column 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 column. |
void |
setOutlineLevel(int nOutlineLevel)
Internal use only |
void |
setPattern(int pattern)
Sets the pattern of the column. |
void |
setPatternColor(System.Drawing.Color color)
Sets the pattern color of the column. |
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 column. |
void |
setStrikethrough(bool isStrikethrough)
Sets the strikethrough option of the column font. |
void |
setStyle(ExcelStyle xlsStyle)
Sets the style of the column. |
void |
setSubscript(bool isSubscript)
Sets the subscript option of the column font. |
void |
setSuperscript(bool isSuperscript)
Sets the superscript option of the column font. |
void |
setTextRotation(int textRotation)
Sets the text rotation of the column. |
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 column font. |
void |
setVerticalAlignment(System.String verticalAlignment)
Sets the vertical alignment of the column. |
void |
setWidth(int width)
Sets the width of the column. |
void |
setWrap(bool isWrap)
Sets the wrap option of the column. |
void |
setXF(int xfIndex)
Internal use only |
Constructor Detail |
public ExcelColumn()
Method Detail |
public System.String getDataType()
DataType
class.
setDataType(System.String)
public void setDataType(System.String dataType)
DataType
class.
dataType
- the data type of the columngetDataType()
public int getUnderlineStyle()
FontSettings
class.
setUnderlineStyle(int)
public void setUnderlineStyle(int UnderlineStyle)
FontSettings
class.
UnderlineStyle
- underline style of the column fontgetUnderlineStyle()
public int getWidth()
setWidth(int)
public void setWidth(int width)
width
- the width of the columngetWidth()
public int Count()
public ExcelStyle getStyle()
setStyle(ActiveXLS.ExcelStyle)
public void setStyle(ExcelStyle xlsStyle)
xlsStyle
- the style of the columngetStyle()
public int getFontSize()
setFontSize(int)
public void setFontSize(int fontSize)
fontSize
- the size of the column fontgetFontSize()
public System.String getFont()
setFont(System.String)
public void setFont(System.String fontName)
fontName
- the name of the column fontgetFont()
public bool IsStrikethrough()
setStrikethrough(bool)
public void setStrikethrough(bool isStrikethrough)
isStrikethrough
- the strikethrough option of the column fontIsStrikethrough()
public bool IsSubscript()
setSubscript(bool)
public void setSubscript(bool isSubscript)
isSubscript
- the subscript option of the column fontIsSubscript()
public bool IsSuperscript()
setSuperscript(bool)
public void setSuperscript(bool isSuperscript)
isSuperscript
- the superscript option of the column fontIsSuperscript()
public bool IsWrap()
setWrap(bool)
public void setWrap(bool isWrap)
isWrap
- the wrap option of the columnIsWrap()
public System.Drawing.Color getBackground()
setBackground(System.Drawing.Color)
public void setBackground(System.Drawing.Color color)
color
- the background color of the columngetBackground()
public System.Drawing.Color getForeground()
setForeground(System.Drawing.Color)
public void setForeground(System.Drawing.Color color)
color
- the foreground color of the columngetForeground()
public bool IsBold()
setBold(bool)
public void setBold(bool isBold)
isBold
- the bold option of the column fontIsBold()
public bool IsItalic()
setItalic(bool)
public void setItalic(bool isItalic)
isItalic
- the italic option of the column fontIsItalic()
public System.String getHorizontalAlignment()
Alignment
class.
setHorizontalAlignment(System.String)
public void setHorizontalAlignment(System.String horizontalAlignment)
Alignment
class.
horizontalAlignment
- the horizontal alignment of the columngetHorizontalAlignment()
public System.String getVerticalAlignment()
Alignment
class.
setVerticalAlignment(System.String)
public void setVerticalAlignment(System.String verticalAlignment)
Alignment
class.
verticalAlignment
- the vertical alignment of the columngetVerticalAlignment()
public int getTextRotation()
setTextRotation(int)
public void setTextRotation(int textRotation)
textRotation
- the text rotation of the columngetTextRotation()
public int getIndent()
setIndent(int)
public void setIndent(int indent)
indent
- the indent of the column.getIndent()
public int getPattern()
setPattern(int)
public void setPattern(int pattern)
pattern
- the pattern of the columngetPattern()
public System.Drawing.Color getPatternColor()
setPatternColor(System.Drawing.Color)
public void setPatternColor(System.Drawing.Color color)
color
- the pattern color of the columngetPatternColor()
public System.String getFormat()
Format
class.
setFormat(System.String)
public void setFormat(System.String format)
Format
class.
format
- the number/date format of the columngetFormat()
public bool IsLocked()
setLocked(bool)
public void setLocked(bool isLocked)
isLocked
- the locked option of the columnIsLocked()
public bool IsShrink()
setShrink(bool)
public void setShrink(bool isShrink)
isShrink
- the shrink option of the columnIsShrink()
public bool IsHiddenFormula()
setHiddenFormula(bool)
public void setHiddenFormula(bool isHidden)
isHidden
- the hidden option of the columnIsHiddenFormula()
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 bool IsHiddenColumn()
setHiddenColumn(bool)
public void setHiddenColumn(bool isHidden)
isHidden
- the hidden option of the columnIsHiddenColumn()
public int getOutlineLevel()
public void setOutlineLevel(int nOutlineLevel)
public bool IsCollapsed()
public void setCollapsed(bool isCollapsed)
public ExcelColumn Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |