|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectActiveXLS.Charts.ExcelChartLegend
This class stores the ChartLegend information like border style, border color, border weight, shadow presence, background color, font name, font size, font bold, font italic, font underline style, font subscript, font superscript, font strikethrough, foreground color, legend position, keys arrangement direction, visibility .
Constructor Summary | |
ExcelChartLegend()
Defines an instance of the excel legend. |
Method Summary | |
ExcelChartLegend |
Clone()
Creates and returns a copy of this object. |
System.Drawing.Color |
getBackground()
Returns the background color of the chart legend. |
System.Drawing.Color |
getBorderColor()
Returns the border color of the chart legend. |
int |
getBorderStyle()
Returns the border style of the chart legend. |
int |
getBorderWeight()
Returns the border weight of the chart legend. |
System.String |
getFont()
Returns the font name used in the chart legend. |
int |
getFontSize()
Returns the size of the font used in the chart legend. |
System.Drawing.Color |
getForeground()
Returns the text color of the chart legend. |
int |
getKeysArrangementDirection()
Returns the direction in which the keys are arranged inside the legend: vertically or horizontally. |
int |
getPlacement()
Returns the position of the chart legend within the chart area. |
int |
getUnderlineStyle()
Returns the underline style of the chart legend text. |
bool |
IsBold()
Returns the bold setting of the chart legend font. |
bool |
IsItalic()
Returns the italic setting of the chart legend font. |
bool |
IsShadow()
Returns the shadow setting of the chart legend. |
bool |
IsStrikethrough()
Returns the strikethrough setting of the chart legend font. |
bool |
IsSubscript()
Returns the subscript setting of the chart legend font. |
bool |
IsSuperscript()
Returns the superscript setting of the chart legend font. |
bool |
IsVisible()
Returns the visible setting of the chart legend. |
void |
setBackground(System.Drawing.Color background)
Sets the background color of the chart legend. |
void |
setBold(bool isBold)
Sets the bold setting of the chart legend font. |
void |
setBorderColor(System.Drawing.Color borderColor)
Sets the color of the chart legend border. |
void |
setBorderStyle(int borderStyle)
Sets the style of the chart legend border. |
void |
setBorderWeight(int borderWeight)
Sets the weight of the chart legend border. |
void |
setFont(System.String fontName)
Sets the chart legend font name. |
void |
setFontSettings(System.String fontName,
int fontSize,
bool isBold,
bool isItalic,
System.Drawing.Color foreground)
Sets the font settings. |
void |
setFontSize(int fontSize)
Sets the size of the chart legend font. |
void |
setForeground(System.Drawing.Color foreground)
Sets the foreground color of the chart legend. |
void |
setItalic(bool isItalic)
Sets the italic setting of the chart legend font. |
void |
setKeysArrangementDirection(int direction)
Sets the direction in which the keys will be arranged: vertical or horizontal. |
void |
setPlacement(int location)
Sets the placement setting (position) of the chart legend within the chart area. |
void |
setShadow(bool isShadow)
Sets the shadow setting of the chart legend. |
void |
setStrikethrough(bool isStrikethrough)
Sets the strikethrough setting of the chart legend font. |
void |
setSubscript(bool isSubscript)
Sets the subscript setting of the chart legend font. |
void |
setSuperscript(bool isSuperscript)
Sets the superscript setting of the chart legend font. |
void |
setUnderlineStyle(int underlineStyle)
Sets the underline style of the chart legend text. |
void |
setVisible(bool value)
Sets the visible setting of the chart legend. |
Constructor Detail |
public ExcelChartLegend()
Method Detail |
public bool IsVisible()
setVisible(bool)
public void setVisible(bool value)
value
- the new visible setting of the chart legendIsVisible()
public int getBorderStyle()
Chart
class.
setBorderStyle(int)
public void setBorderStyle(int borderStyle)
Chart
class.
borderStyle
- the new style of the chart legend bordergetBorderStyle()
public int getBorderWeight()
Chart
class.
setBorderWeight(int)
public void setBorderWeight(int borderWeight)
Chart
class.
borderWeight
- the new weight value of the chart legend bordergetBorderWeight()
public System.Drawing.Color getBorderColor()
setBorderColor(System.Drawing.Color)
public void setBorderColor(System.Drawing.Color borderColor)
borderColor
- the new color of the chart legend bordergetBorderColor()
public bool IsShadow()
setShadow(bool)
public void setShadow(bool isShadow)
isShadow
- the new shadow setting of the chart legend.IsShadow()
public System.Drawing.Color getForeground()
setForeground(System.Drawing.Color)
public void setForeground(System.Drawing.Color foreground)
foreground
- the new color of the chart legend foregroundgetForeground()
public System.Drawing.Color getBackground()
setBackground(System.Drawing.Color)
public void setBackground(System.Drawing.Color background)
background
- the new color of the legend backgroundgetBackground()
public bool IsStrikethrough()
setStrikethrough(bool)
public void setStrikethrough(bool isStrikethrough)
isStrikethrough
- the new value of the strikethrough settingIsStrikethrough()
public bool IsSuperscript()
setSuperscript(bool)
public void setSuperscript(bool isSuperscript)
isSuperscript
- the new superscript setting of the chart legend fontIsSuperscript()
public bool IsSubscript()
setSubscript(bool)
public void setSubscript(bool isSubscript)
isSubscript
- the new subscript setting of the chart legend fontIsSubscript()
public int getUnderlineStyle()
FontSettings
class.
setUnderlineStyle(int)
public void setUnderlineStyle(int underlineStyle)
FontSettings
class.
underlineStyle
- the new underline style of the chart legendgetUnderlineStyle()
public int getFontSize()
setFontSize(int)
public void setFontSize(int fontSize)
fontSize
- the new value of the chart legend font size.getFontSize()
public System.String getFont()
setFont(System.String)
public void setFont(System.String fontName)
fontName
- the name of the new fontgetFont()
public bool IsBold()
setBold(bool)
public void setBold(bool isBold)
isBold
- the new value of the bold settingIsBold()
public bool IsItalic()
setItalic(bool)
public void setItalic(bool isItalic)
isItalic
- the new italic style of the chart area fontIsItalic()
public void setFontSettings(System.String fontName, int fontSize, bool isBold, bool isItalic, System.Drawing.Color foreground)
fontName
- the name of the fontfontSize
- the size of the fontisBold
- the bold option of the fontisItalic
- the italic option of the fontforeground
- the foreground colorpublic int getPlacement()
Chart
class.
setPlacement(int)
public void setPlacement(int location)
Chart
class.
location
- the new position of the chart legend.getPlacement()
public int getKeysArrangementDirection()
Chart
class.
setKeysArrangementDirection(int)
public void setKeysArrangementDirection(int direction)
Chart
class.
direction
- the new directiongetKeysArrangementDirection()
public ExcelChartLegend Clone()
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |