legend.h
来自「对Teechart进行封装」· C头文件 代码 · 共 115 行
H
115 行
#if !defined(AFX_LEGEND_H__8DDC2217_6E9A_4B5E_9C9C_1675997B7C9D__INCLUDED_)
#define AFX_LEGEND_H__8DDC2217_6E9A_4B5E_9C9C_1675997B7C9D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
// Dispatch interfaces referenced by this interface
class CTeeFont;
class CGradient;
class CPen1;
class CBrush1;
class CLegendSymbol;
/////////////////////////////////////////////////////////////////////////////
// CLegend wrapper class
class CLASS_EXPORT_CHART CLegend : public COleDispatchDriver
{
public:
CLegend() {} // Calls COleDispatchDriver default constructor
CLegend(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
CLegend(const CLegend& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}
// Attributes
public:
// Operations
public:
unsigned long GetColor();
void SetColor(unsigned long newValue);
CTeeFont GetFont();
CGradient GetGradient();
long GetShadowSize();
void SetShadowSize(long nNewValue);
unsigned long GetShadowColor();
void SetShadowColor(unsigned long newValue);
BOOL GetTransparent();
void SetTransparent(BOOL bNewValue);
long GetShapeStyle();
void SetShapeStyle(long nNewValue);
long GetTransparency();
void SetTransparency(long nNewValue);
// method 'GetShapeBounds' not emitted because of invalid return type or parameter type
long GetBevel();
void SetBevel(long nNewValue);
long GetBevelWidth();
void SetBevelWidth(long nNewValue);
BOOL GetCustomPosition();
void SetCustomPosition(BOOL bNewValue);
long GetLeft();
void SetLeft(long nNewValue);
long GetTop();
void SetTop(long nNewValue);
long GetAlignment();
void SetAlignment(long nNewValue);
long GetColorWidth();
void SetColorWidth(long nNewValue);
CPen1 GetDividingLines();
long GetFirstValue();
void SetFirstValue(long nNewValue);
CPen1 GetFrame();
long GetHorizMargin();
void SetHorizMargin(long nNewValue);
BOOL GetInverted();
void SetInverted(BOOL bNewValue);
long GetLegendStyle();
void SetLegendStyle(long nNewValue);
BOOL GetResizeChart();
void SetResizeChart(BOOL bNewValue);
long GetTextStyle();
void SetTextStyle(long nNewValue);
long GetTopPos();
void SetTopPos(long nNewValue);
long GetVertMargin();
void SetVertMargin(long nNewValue);
BOOL GetVisible();
void SetVisible(BOOL bNewValue);
CString Formatted(long SomeSeriesOrValueIndex);
CString FormattedValue(long aSeries, long SomeValueIndex);
long Clicked(long X, long Y);
long GetMaxNumRows();
void SetMaxNumRows(long nNewValue);
void BackImageLoad(LPCTSTR FileName);
void BackImageClear();
CBrush1 GetBrush();
VARIANT GetSeries();
void SetSeries(const VARIANT& newValue);
void DrawLegend();
BOOL GetFontSeriesColor();
void SetFontSeriesColor(BOOL bNewValue);
BOOL GetCurrentPage();
void SetCurrentPage(BOOL bNewValue);
CLegendSymbol GetSymbol();
BOOL GetCheckBoxes();
void SetCheckBoxes(BOOL bNewValue);
BOOL GetColumnWidthAuto();
void SetColumnWidthAuto(BOOL bNewValue);
long GetColumnWidths(long Index);
void SetColumnWidths(long Index, long nNewValue);
long GetVertspacing();
void SetVertspacing(long nNewValue);
BOOL GetVertical();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LEGEND_H__8DDC2217_6E9A_4B5E_9C9C_1675997B7C9D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?