📄 chart2d.h
字号:
#if !defined(AFX_CHART2D_H__EF1D6A1C_A431_4C71_B53A_669ABE00BBC7__INCLUDED_)
#define AFX_CHART2D_H__EF1D6A1C_A431_4C71_B53A_669ABE00BBC7__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 CTitle;
class CLegend;
class CBorder;
class CInterior;
class CChartArea;
class CChartGroupCollection;
class CChartLabelCollection;
class CActionMapCollection;
/////////////////////////////////////////////////////////////////////////////
// CChart2D wrapper class
class CChart2D : public CWnd
{
protected:
DECLARE_DYNCREATE(CChart2D)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xc819c5bf, 0x6fbe, 0x49ae, { 0xa6, 0xd, 0xb5, 0x70, 0x65, 0xe3, 0x10, 0x1e } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
CTitle GetHeader();
CTitle GetFooter();
CLegend GetLegend();
CBorder GetBorder();
CInterior GetInterior();
BOOL GetIsBatched();
void SetIsBatched(BOOL);
BOOL GetIsDoubleBuffered();
void SetIsDoubleBuffered(BOOL);
CChartArea GetChartArea();
CChartGroupCollection GetChartGroups();
CChartLabelCollection GetChartLabels();
long GetErrorOffset();
void SetErrorOffset(long);
CActionMapCollection GetActionMaps();
OLE_HANDLE GetHWnd();
BOOL GetAllowUserChanges();
void SetAllowUserChanges(BOOL);
LPUNKNOWN GetDataSource();
void SetDataSource(LPUNKNOWN);
CString GetDataPath();
void SetDataPath(LPCTSTR);
// Operations
public:
void Refresh();
BOOL Load(LPCTSTR FileName);
BOOL Save(LPCTSTR FileName);
void CallAction(long Action, long XCoord, long YCoord);
BOOL DrawToDC(long Hdc, long Format, long Scale, long Left, long Top, long Width, long Height);
BOOL PrintChart(long Format, long Scale, long Left, long Top, long Width, long Height);
BOOL CopyToClipboard(long Format);
BOOL DrawToFile(LPCTSTR FileName, long Format);
BOOL ShowChartEditorElement(short Element, BOOL Show);
BOOL IsChartEditorElementVisible(short Element);
BOOL LoadURL(LPCTSTR URLName);
BOOL SaveImageAsJpeg(LPCTSTR FileName, long Quality, BOOL GrayScale, BOOL OptimizeCompression, BOOL ProgressiveJpeg);
BOOL SaveImageAsPng(LPCTSTR FileName, BOOL Interlace);
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CHART2D_H__EF1D6A1C_A431_4C71_B53A_669ABE00BBC7__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -