#if !defined(AFX_LABELS_H__ABF55324_9FF3_45E2_B0C6_B1D87CFFFAA4__INCLUDED_)
#define AFX_LABELS_H__ABF55324_9FF3_45E2_B0C6_B1D87CFFFAA4__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 CCallback;
class CLabelCategory;
class CLabel;

/////////////////////////////////////////////////////////////////////////////
// CLabels wrapper class

class CLabels : public COleDispatchDriver
{
public:
	CLabels() {}		// Calls COleDispatchDriver default constructor
	CLabels(LPDISPATCH pDispatch) : COleDispatchDriver(pDispatch) {}
	CLabels(const CLabels& dispatchSrc) : COleDispatchDriver(dispatchSrc) {}

// Attributes
public:

// Operations
public:
	long GetLastErrorCode();
	CString GetErrorMsg(long ErrorCode);
	CCallback GetGlobalCallback();
	void SetGlobalCallback(LPDISPATCH newValue);
	CString GetKey();
	void SetKey(LPCTSTR lpszNewValue);
	long GetVerticalPosition();
	void SetVerticalPosition(long nNewValue);
	CLabelCategory GetCategory(long Index);
	void SetCategory(long Index, LPDISPATCH newValue);
	void AddLabel(LPCTSTR Text, double x, double y, double Rotation, long Category);
	BOOL InsertLabel(long Index, LPCTSTR Text, double x, double y, double Rotation, long Category);
	BOOL RemoveLabel(long Index);
	void AddPart(long Index, LPCTSTR Text, double x, double y, double Rotation, long Category);
	BOOL InsertPart(long Index, long Part, LPCTSTR Text, double x, double y, double Rotation, long Category);
	BOOL RemovePart(long Index, long Part);
	CLabelCategory AddCategory(LPCTSTR Name);
	CLabelCategory InsertCategory(long Index, LPCTSTR Name);
	BOOL RemoveCategory(long Index);
	void Clear();
	void ClearCategories();
	BOOL Select(LPDISPATCH BoundingBox, long Tolerance, long SelectMode, VARIANT* LabelIndices, VARIANT* PartIndices);
	long GetCount();
	long GetNumParts(long Index);
	long GetNumCategories();
	CLabel GetLabel(long Index, long Part);
	BOOL GetSynchronized();
	void SetSynchronized(BOOL bNewValue);
	BOOL GetScaleLabels();
	void SetScaleLabels(BOOL bNewValue);
	double GetBasicScale();
	void SetBasicScale(double newValue);
	double GetMaxVisibleScale();
	void SetMaxVisibleScale(double newValue);
	double GetMinVisibleScale();
	void SetMinVisibleScale(double newValue);
	BOOL GetDynamicVisibility();
	void SetDynamicVisibility(BOOL bNewValue);
	BOOL GetAvoidCollisions();
	void SetAvoidCollisions(BOOL bNewValue);
	long GetCollisionBuffer();
	void SetCollisionBuffer(long nNewValue);
	BOOL GetUseWidthLimits();
	void SetUseWidthLimits(BOOL bNewValue);
	BOOL GetRemoveDuplicates();
	void SetRemoveDuplicates(BOOL bNewValue);
	BOOL GetUseGdiPlus();
	void SetUseGdiPlus(BOOL bNewValue);
	BOOL GetVisible();
	void SetVisible(BOOL bNewValue);
	double GetOffsetX();
	void SetOffsetX(double newValue);
	double GetOffsetY();
	void SetOffsetY(double newValue);
	long GetAlignment();
	void SetAlignment(long nNewValue);
	long GetLineOrientation();
	void SetLineOrientation(long nNewValue);
	CString GetFontName();
	void SetFontName(LPCTSTR lpszNewValue);
	long GetFontSize();
	void SetFontSize(long nNewValue);
	BOOL GetFontItalic();
	void SetFontItalic(BOOL bNewValue);
	BOOL GetFontBold();
	void SetFontBold(BOOL bNewValue);
	BOOL GetFontUnderline();
	void SetFontUnderline(BOOL bNewValue);
	BOOL GetFontStrikeOut();
	void SetFontStrikeOut(BOOL bNewValue);
	unsigned long GetFontColor();
	void SetFontColor(unsigned long newValue);
	unsigned long GetFontColor2();
	void SetFontColor2(unsigned long newValue);
	long GetFontGradientMode();
	void SetFontGradientMode(long nNewValue);
	long GetFontTransparency();
	void SetFontTransparency(long nNewValue);
	BOOL GetFontOutlineVisible();
	void SetFontOutlineVisible(BOOL bNewValue);
	BOOL GetShadowVisible();
	void SetShadowVisible(BOOL bNewValue);
	BOOL GetHaloVisible();
	void SetHaloVisible(BOOL bNewValue);
	unsigned long GetFontOutlineColor();
	void SetFontOutlineColor(unsigned long newValue);
	unsigned long GetShadowColor();
	void SetShadowColor(unsigned long newValue);
	unsigned long GetHaloColor();
	void SetHaloColor(unsigned long newValue);
	long GetFontOutlineWidth();
	void SetFontOutlineWidth(long nNewValue);
	long GetShadowOffsetX();
	void SetShadowOffsetX(long nNewValue);
	long GetShadowOffsetY();
	void SetShadowOffsetY(long nNewValue);
	long GetHaloSize();
	void SetHaloSize(long nNewValue);
	long GetFrameType();
	void SetFrameType(long nNewValue);
	unsigned long GetFrameOutlineColor();
	void SetFrameOutlineColor(unsigned long newValue);
	unsigned long GetFrameBackColor();
	void SetFrameBackColor(unsigned long newValue);
	unsigned long GetFrameBackColor2();
	void SetFrameBackColor2(unsigned long newValue);
	long GetFrameGradientMode();
	void SetFrameGradientMode(long nNewValue);
	long GetFrameOutlineStyle();
	void SetFrameOutlineStyle(long nNewValue);
	long GetFrameOutlineWidth();
	void SetFrameOutlineWidth(long nNewValue);
	long GetFramePaddingX();
	void SetFramePaddingX(long nNewValue);
	long GetFramePaddingY();
	void SetFramePaddingY(long nNewValue);
	long GetFrameTransparency();
	void SetFrameTransparency(long nNewValue);
	long GetInboxAlignment();
	void SetInboxAlignment(long nNewValue);
	long GetClassificationField();
	void SetClassificationField(long nNewValue);
	BOOL GenerateCategories(long FieldIndex, long ClassificationType, long numClasses);
	void ApplyCategories();
	CLabelCategory GetOptions();
	void SetOptions(LPDISPATCH newValue);
	void ApplyColorScheme(long Type, LPDISPATCH ColorScheme);
	void ApplyColorScheme2(long Type, LPDISPATCH ColorScheme, long Element);
	void ApplyColorScheme3(long Type, LPDISPATCH ColorScheme, long Element, long CategoryStartIndex, long CategoryEndIndex);
	BOOL GetFrameVisible();
	void SetFrameVisible(BOOL bNewValue);
	CString GetVisibilityExpression();
	void SetVisibilityExpression(LPCTSTR lpszNewValue);
	long GetMinDrawingSize();
	void SetMinDrawingSize(long nNewValue);
	BOOL MoveCategoryUp(long Index);
	BOOL MoveCategoryDown(long Index);
	BOOL GetAutoOffset();
	void SetAutoOffset(BOOL bNewValue);
	CString Serialize();
	void Deserialize(LPCTSTR newVal);
	CString GetExpression();
	void SetExpression(LPCTSTR lpszNewValue);
	BOOL SaveToXML(LPCTSTR Filename);
	BOOL LoadFromXML(LPCTSTR Filename);
	BOOL SaveToDbf(BOOL saveText, BOOL saveCategory);
	BOOL SaveToDbf2(LPCTSTR xField, LPCTSTR yField, LPCTSTR angleField, LPCTSTR textField, LPCTSTR categoryField, BOOL saveText, BOOL saveCategory);
	BOOL LoadFromDbf(BOOL loadText, BOOL loadCategory);
	BOOL LoadFromDbf2(LPCTSTR xField, LPCTSTR yField, LPCTSTR angleField, LPCTSTR textField, LPCTSTR categoryField, BOOL loadText, BOOL loadCategory);
	long Generate(LPCTSTR Expression, long Method, BOOL LargestPartOnly);
	long GetSavingMode();
	void SetSavingMode(long nNewValue);
	long GetPositioning();
	void SetPositioning(long nNewValue);
	long GetTextRenderingHint();
	void SetTextRenderingHint(long nNewValue);

	long get_FontSize2();
	void put_FontSize2(long newValue);
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_LABELS_H__ABF55324_9FF3_45E2_B0C6_B1D87CFFFAA4__INCLUDED_)