⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 lead.cpp

📁 这是我珍藏的图像处理入门C源码分析,给大家共享了!
💻 CPP
📖 第 1 页 / 共 2 页
字号:
// 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.





#include "stdafx.h"

#include "lead.h"



// Dispatch interfaces referenced by this interface

#include "Picture.h"



/////////////////////////////////////////////////////////////////////////////

// CLead



IMPLEMENT_DYNCREATE(CLead, CWnd)



/////////////////////////////////////////////////////////////////////////////

// CLead properties



OLE_HANDLE CLead::GetHWnd()

{

	OLE_HANDLE result;

	GetProperty(DISPID_HWND, VT_I4, (void*)&result);

	return result;

}



void CLead::SetHWnd(OLE_HANDLE propVal)

{

	SetProperty(DISPID_HWND, VT_I4, propVal);

}



OLE_COLOR CLead::GetBackColor()

{

	OLE_COLOR result;

	GetProperty(DISPID_BACKCOLOR, VT_I4, (void*)&result);

	return result;

}



void CLead::SetBackColor(OLE_COLOR propVal)

{

	SetProperty(DISPID_BACKCOLOR, VT_I4, propVal);

}



BOOL CLead::GetEnabled()

{

	BOOL result;

	GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);

	return result;

}



void CLead::SetEnabled(BOOL propVal)

{

	SetProperty(DISPID_ENABLED, VT_BOOL, propVal);

}



short CLead::GetBorderStyle()

{

	short result;

	GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);

	return result;

}



void CLead::SetBorderStyle(short propVal)

{

	SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);

}



long CLead::GetBitmap()

{

	long result;

	GetProperty(0x1, VT_I4, (void*)&result);

	return result;

}



void CLead::SetBitmap(long propVal)

{

	SetProperty(0x1, VT_I4, propVal);

}



BOOL CLead::GetAutoRepaint()

{

	BOOL result;

	GetProperty(0x2, VT_BOOL, (void*)&result);

	return result;

}



void CLead::SetAutoRepaint(BOOL propVal)

{

	SetProperty(0x2, VT_BOOL, propVal);

}



BOOL CLead::GetBackErase()

{

	BOOL result;

	GetProperty(0x3, VT_BOOL, (void*)&result);

	return result;

}



void CLead::SetBackErase(BOOL propVal)

{

	SetProperty(0x3, VT_BOOL, propVal);

}



BOOL CLead::GetAutoScroll()

{

	BOOL result;

	GetProperty(0x4, VT_BOOL, (void*)&result);

	return result;

}



void CLead::SetAutoScroll(BOOL propVal)

{

	SetProperty(0x4, VT_BOOL, propVal);

}



short CLead::GetPaintDither()

{

	short result;

	GetProperty(0x5, VT_I2, (void*)&result);

	return result;

}



void CLead::SetPaintDither(short propVal)

{

	SetProperty(0x5, VT_I2, propVal);

}



float CLead::GetBitmapWidth()

{

	float result;

	GetProperty(0x6, VT_R4, (void*)&result);

	return result;

}



void CLead::SetBitmapWidth(float propVal)

{

	SetProperty(0x6, VT_R4, propVal);

}



float CLead::GetBitmapHeight()

{

	float result;

	GetProperty(0x7, VT_R4, (void*)&result);

	return result;

}



void CLead::SetBitmapHeight(float propVal)

{

	SetProperty(0x7, VT_R4, propVal);

}



short CLead::GetBitmapBits()

{

	short result;

	GetProperty(0x8, VT_I2, (void*)&result);

	return result;

}



void CLead::SetBitmapBits(short propVal)

{

	SetProperty(0x8, VT_I2, propVal);

}



short CLead::GetVersionLevel()

{

	short result;

	GetProperty(0x9, VT_I2, (void*)&result);

	return result;

}



void CLead::SetVersionLevel(short propVal)

{

	SetProperty(0x9, VT_I2, propVal);

}



short CLead::GetVersionMajor()

{

	short result;

	GetProperty(0xa, VT_I2, (void*)&result);

	return result;

}



void CLead::SetVersionMajor(short propVal)

{

	SetProperty(0xa, VT_I2, propVal);

}



short CLead::GetVersionMinor()

{

	short result;

	GetProperty(0xb, VT_I2, (void*)&result);

	return result;

}



void CLead::SetVersionMinor(short propVal)

{

	SetProperty(0xb, VT_I2, propVal);

}



CString CLead::GetVersionProduct()

{

	CString result;

	GetProperty(0xc, VT_BSTR, (void*)&result);

	return result;

}



void CLead::SetVersionProduct(LPCTSTR propVal)

{

	SetProperty(0xc, VT_BSTR, propVal);

}



CString CLead::GetVersionDate()

{

	CString result;

	GetProperty(0xd, VT_BSTR, (void*)&result);

	return result;

}



void CLead::SetVersionDate(LPCTSTR propVal)

{

	SetProperty(0xd, VT_BSTR, propVal);

}



CString CLead::GetVersionTime()

{

	CString result;

	GetProperty(0xe, VT_BSTR, (void*)&result);

	return result;

}



void CLead::SetVersionTime(LPCTSTR propVal)

{

	SetProperty(0xe, VT_BSTR, propVal);

}



short CLead::GetPaintPalette()

{

	short result;

	GetProperty(0xf, VT_I2, (void*)&result);

	return result;

}



void CLead::SetPaintPalette(short propVal)

{

	SetProperty(0xf, VT_I2, propVal);

}



BOOL CLead::GetEnableMethodErrors()

{

	BOOL result;

	GetProperty(0x10, VT_BOOL, (void*)&result);

	return result;

}



void CLead::SetEnableMethodErrors(BOOL propVal)

{

	SetProperty(0x10, VT_BOOL, propVal);

}



float CLead::GetDstLeft()

{

	float result;

	GetProperty(0x11, VT_R4, (void*)&result);

	return result;

}



void CLead::SetDstLeft(float propVal)

{

	SetProperty(0x11, VT_R4, propVal);

}



float CLead::GetDstTop()

{

	float result;

	GetProperty(0x12, VT_R4, (void*)&result);

	return result;

}



void CLead::SetDstTop(float propVal)

{

	SetProperty(0x12, VT_R4, propVal);

}



float CLead::GetDstWidth()

{

	float result;

	GetProperty(0x13, VT_R4, (void*)&result);

	return result;

}



void CLead::SetDstWidth(float propVal)

{

	SetProperty(0x13, VT_R4, propVal);

}



float CLead::GetDstHeight()

{

	float result;

	GetProperty(0x14, VT_R4, (void*)&result);

	return result;

}



void CLead::SetDstHeight(float propVal)

{

	SetProperty(0x14, VT_R4, propVal);

}



float CLead::GetDstClipLeft()

{

	float result;

	GetProperty(0x15, VT_R4, (void*)&result);

	return result;

}



void CLead::SetDstClipLeft(float propVal)

{

	SetProperty(0x15, VT_R4, propVal);

}



float CLead::GetDstClipTop()

{

	float result;

	GetProperty(0x16, VT_R4, (void*)&result);

	return result;

}



void CLead::SetDstClipTop(float propVal)

{

	SetProperty(0x16, VT_R4, propVal);

}



float CLead::GetDstClipWidth()

{

	float result;

	GetProperty(0x17, VT_R4, (void*)&result);

	return result;

}



void CLead::SetDstClipWidth(float propVal)

{

	SetProperty(0x17, VT_R4, propVal);

}



float CLead::GetDstClipHeight()

{

	float result;

	GetProperty(0x18, VT_R4, (void*)&result);

	return result;

}



void CLead::SetDstClipHeight(float propVal)

{

	SetProperty(0x18, VT_R4, propVal);

}



float CLead::GetSrcLeft()

{

	float result;

	GetProperty(0x19, VT_R4, (void*)&result);

	return result;

}



void CLead::SetSrcLeft(float propVal)

{

	SetProperty(0x19, VT_R4, propVal);

}



float CLead::GetSrcTop()

{

	float result;

	GetProperty(0x1a, VT_R4, (void*)&result);

	return result;

}



void CLead::SetSrcTop(float propVal)

{

	SetProperty(0x1a, VT_R4, propVal);

}



float CLead::GetSrcWidth()

{

	float result;

	GetProperty(0x1b, VT_R4, (void*)&result);

	return result;

}



void CLead::SetSrcWidth(float propVal)

{

	SetProperty(0x1b, VT_R4, propVal);

}



float CLead::GetSrcHeight()

{

	float result;

	GetProperty(0x1c, VT_R4, (void*)&result);

	return result;

}



void CLead::SetSrcHeight(float propVal)

{

	SetProperty(0x1c, VT_R4, propVal);

}



float CLead::GetSrcClipLeft()

{

	float result;

	GetProperty(0x1d, VT_R4, (void*)&result);

	return result;

}



void CLead::SetSrcClipLeft(float propVal)

{

	SetProperty(0x1d, VT_R4, propVal);

}



float CLead::GetSrcClipTop()

{

	float result;

	GetProperty(0x1e, VT_R4, (void*)&result);

	return result;

}



void CLead::SetSrcClipTop(float propVal)

{

	SetProperty(0x1e, VT_R4, propVal);

}



float CLead::GetSrcClipWidth()

{

	float result;

	GetProperty(0x1f, VT_R4, (void*)&result);

	return result;

}



void CLead::SetSrcClipWidth(float propVal)

{

	SetProperty(0x1f, VT_R4, propVal);

}



float CLead::GetSrcClipHeight()

{

	float result;

	GetProperty(0x20, VT_R4, (void*)&result);

	return result;

}



void CLead::SetSrcClipHeight(float propVal)

{

	SetProperty(0x20, VT_R4, propVal);

}



short CLead::GetBitmapXRes()

{

	short result;

	GetProperty(0x21, VT_I2, (void*)&result);

	return result;

}



void CLead::SetBitmapXRes(short propVal)

{

	SetProperty(0x21, VT_I2, propVal);

}



short CLead::GetBitmapYRes()

{

	short result;

	GetProperty(0x22, VT_I2, (void*)&result);

	return result;

}



void CLead::SetBitmapYRes(short propVal)

{

	SetProperty(0x22, VT_I2, propVal);

}



short CLead::GetInfoPage()

{

	short result;

	GetProperty(0x23, VT_I2, (void*)&result);

	return result;

}



void CLead::SetInfoPage(short propVal)

{

	SetProperty(0x23, VT_I2, propVal);

}



float CLead::GetInfoWidth()

{

	float result;

	GetProperty(0x24, VT_R4, (void*)&result);

	return result;

}



void CLead::SetInfoWidth(float propVal)

{

	SetProperty(0x24, VT_R4, propVal);

}



float CLead::GetInfoHeight()

{

	float result;

	GetProperty(0x25, VT_R4, (void*)&result);

	return result;

}



void CLead::SetInfoHeight(float propVal)

{

	SetProperty(0x25, VT_R4, propVal);

}



short CLead::GetInfoBits()

{

	short result;

	GetProperty(0x26, VT_I2, (void*)&result);

	return result;

}



void CLead::SetInfoBits(short propVal)

{

	SetProperty(0x26, VT_I2, propVal);

}



short CLead::GetInfoFormat()

{

	short result;

	GetProperty(0x27, VT_I2, (void*)&result);

	return result;

}



void CLead::SetInfoFormat(short propVal)

{

	SetProperty(0x27, VT_I2, propVal);

}



long CLead::GetInfoSizeDisk()

{

	long result;

	GetProperty(0x28, VT_I4, (void*)&result);

	return result;

}



void CLead::SetInfoSizeDisk(long propVal)

{

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -