 |
| IXlsChartFont |
 |
COM interface ( getting help with interfaces )
interface IXlsChartFont : IDispatch
{
[id(1),propget] HRESULT Name([out, retval] BSTR* name);
[id(1),propput] HRESULT Name([in]BSTR name);
[id(2),propget] HRESULT Size([out, retval] double* size);
[id(2),propput] HRESULT Size([in]double size);
[id(3),propget] HRESULT Bold([out, retval] BOOL* bBold);
[id(3),propput] HRESULT Bold([in]BOOL bBold);
[id(4),propget] HRESULT Italic([out, retval] BOOL* bItalic);
[id(4),propput] HRESULT Italic([in]BOOL bItalic);
[id(5),propget] HRESULT Underlined([out, retval] enumUnderline* underlined);
[id(5),propput] HRESULT Underlined([in]enumUnderline underlined);
[id(6),propget] HRESULT Exponent([out, retval] enumExponent* exponent);
[id(6),propput] HRESULT Exponent([in]enumExponent exponent);
[id(7),propget] HRESULT Strikeout([out, retval] BOOL* bStrikeout);
[id(7),propput] HRESULT Strikeout([in]BOOL bStrikeout);
[id(8),propget] HRESULT Color([out, retval] int* nRGB);
[id(8),propput] HRESULT Color([in]int nRGB);
[id(9),propget] HRESULT AutoScale([out, retval] BOOL* autoscale);
[id(9),propput] HRESULT AutoScale([in]BOOL autoscale);
[id(10),propget] HRESULT BackgroundType([out, retval] enumChartFontBackground* fontBkgroundType);
[id(10),propput] HRESULT BackgroundType([in]enumChartFontBackground fontBkgroundType);
}
HRESULT Name([out, retval] BSTR* name);
sets the font name to use. Example : Arial.
HRESULT Name([in]BSTR name);
retrieves the font name.
HRESULT Size([out, retval] double* size);
sets the height of the font. Example : 10 (10 pixels).
HRESULT Size([in]double size);
retrieves the height of the font, in pixels.
HRESULT Bold([out, retval] BOOL* bBold);
retrieves whether the font has bold style.
HRESULT Bold([in]BOOL bBold);
sets whether the font should have bold style.
HRESULT Italic([out, retval] BOOL* bItalic);
retrieves whether the font has italic style.
HRESULT Italic([in]BOOL bItalic);
sets whether the font should have italic style.
HRESULT Underlined([out, retval] enumUnderline* underlined);
retrieves whether the font has underlined style.
HRESULT Underlined([in]enumUnderline underlined);
sets whether the font should have underlined style.
HRESULT Exponent([out, retval] enumExponent* exponent);
retrieves whether the font has exponent style.
HRESULT Exponent([in]enumExponent exponent);
sets whether the font should use exponent style.
HRESULT Strikeout([out, retval] BOOL* bStrikeout);
retrieves whether the font has strikeout style.
HRESULT Strikeout([in]BOOL bStrikeout);
sets whether the font should have strikeout style.
HRESULT Color([out, retval] int* nRGB);
retrieves the color of the font.
HRESULT Color([in]int nRGB);
sets the color of the font. Uses a 24-bit color number or an enumerated type.
HRESULT AutoScale([out, retval] BOOL* autoscale);
returns whether the size of the font should scale with the size of the chart.
HRESULT AutoScale([in]BOOL autoscale);
sets whether the size of the font should scale with the size of the chart.
HRESULT BackgroundType([out, retval] enumChartFontBackground* fontBkgroundType);
returns whether the background of text should be set to automatic, transparent or opaque.
HRESULT BackgroundType([in]enumChartFontBackground fontBkgroundType);
sets whether the background of text should be set to automatic, transparent or opaque.