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

📄 imgedit.cpp

📁 VC成绩管理系统
💻 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 "imgedit.h"

// Dispatch interfaces referenced by this interface
#include "font.h"
#include "Picture.h"

/////////////////////////////////////////////////////////////////////////////
// CImgEdit

IMPLEMENT_DYNCREATE(CImgEdit, CWnd)

/////////////////////////////////////////////////////////////////////////////
// CImgEdit properties

CString CImgEdit::GetImage()
{
	CString result;
	GetProperty(0x1, VT_BSTR, (void*)&result);
	return result;
}

void CImgEdit::SetImage(LPCTSTR propVal)
{
	SetProperty(0x1, VT_BSTR, propVal);
}

CString CImgEdit::GetImageControl()
{
	CString result;
	GetProperty(0x2, VT_BSTR, (void*)&result);
	return result;
}

void CImgEdit::SetImageControl(LPCTSTR propVal)
{
	SetProperty(0x2, VT_BSTR, propVal);
}

long CImgEdit::GetAnnotationType()
{
	long result;
	GetProperty(0x3, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationType(long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

short CImgEdit::GetAnnotationGroupCount()
{
	short result;
	GetProperty(0x4, VT_I2, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationGroupCount(short propVal)
{
	SetProperty(0x4, VT_I2, propVal);
}

float CImgEdit::GetZoom()
{
	float result;
	GetProperty(0x5, VT_R4, (void*)&result);
	return result;
}

void CImgEdit::SetZoom(float propVal)
{
	SetProperty(0x5, VT_R4, propVal);
}

long CImgEdit::GetPage()
{
	long result;
	GetProperty(0x6, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetPage(long propVal)
{
	SetProperty(0x6, VT_I4, propVal);
}

unsigned long CImgEdit::GetAnnotationBackColor()
{
	unsigned long result;
	GetProperty(0x7, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationBackColor(unsigned long propVal)
{
	SetProperty(0x7, VT_I4, propVal);
}

unsigned long CImgEdit::GetAnnotationFillColor()
{
	unsigned long result;
	GetProperty(0x8, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationFillColor(unsigned long propVal)
{
	SetProperty(0x8, VT_I4, propVal);
}

long CImgEdit::GetAnnotationFillStyle()
{
	long result;
	GetProperty(0x9, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationFillStyle(long propVal)
{
	SetProperty(0x9, VT_I4, propVal);
}

COleFont CImgEdit::GetAnnotationFont()
{
	LPDISPATCH pDispatch;
	GetProperty(0xa, VT_DISPATCH, (void*)&pDispatch);
	return COleFont(pDispatch);
}

void CImgEdit::SetAnnotationFont(LPDISPATCH propVal)
{
	SetProperty(0xa, VT_DISPATCH, propVal);
}

CString CImgEdit::GetAnnotationImage()
{
	CString result;
	GetProperty(0xb, VT_BSTR, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationImage(LPCTSTR propVal)
{
	SetProperty(0xb, VT_BSTR, propVal);
}

unsigned long CImgEdit::GetAnnotationLineColor()
{
	unsigned long result;
	GetProperty(0xc, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationLineColor(unsigned long propVal)
{
	SetProperty(0xc, VT_I4, propVal);
}

long CImgEdit::GetAnnotationLineStyle()
{
	long result;
	GetProperty(0xd, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationLineStyle(long propVal)
{
	SetProperty(0xd, VT_I4, propVal);
}

short CImgEdit::GetAnnotationLineWidth()
{
	short result;
	GetProperty(0xe, VT_I2, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationLineWidth(short propVal)
{
	SetProperty(0xe, VT_I2, propVal);
}

CString CImgEdit::GetAnnotationStampText()
{
	CString result;
	GetProperty(0xf, VT_BSTR, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationStampText(LPCTSTR propVal)
{
	SetProperty(0xf, VT_BSTR, propVal);
}

CString CImgEdit::GetAnnotationTextFile()
{
	CString result;
	GetProperty(0x10, VT_BSTR, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationTextFile(LPCTSTR propVal)
{
	SetProperty(0x10, VT_BSTR, propVal);
}

long CImgEdit::GetDisplayScaleAlgorithm()
{
	long result;
	GetProperty(0x11, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetDisplayScaleAlgorithm(long propVal)
{
	SetProperty(0x11, VT_I4, propVal);
}

BOOL CImgEdit::GetImageDisplayed()
{
	BOOL result;
	GetProperty(0x12, VT_BOOL, (void*)&result);
	return result;
}

void CImgEdit::SetImageDisplayed(BOOL propVal)
{
	SetProperty(0x12, VT_BOOL, propVal);
}

long CImgEdit::GetImageHeight()
{
	long result;
	GetProperty(0x13, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetImageHeight(long propVal)
{
	SetProperty(0x13, VT_I4, propVal);
}

BOOL CImgEdit::GetImageModified()
{
	BOOL result;
	GetProperty(0x14, VT_BOOL, (void*)&result);
	return result;
}

void CImgEdit::SetImageModified(BOOL propVal)
{
	SetProperty(0x14, VT_BOOL, propVal);
}

long CImgEdit::GetImagePalette()
{
	long result;
	GetProperty(0x15, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetImagePalette(long propVal)
{
	SetProperty(0x15, VT_I4, propVal);
}

long CImgEdit::GetImageResolutionX()
{
	long result;
	GetProperty(0x16, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetImageResolutionX(long propVal)
{
	SetProperty(0x16, VT_I4, propVal);
}

long CImgEdit::GetImageResolutionY()
{
	long result;
	GetProperty(0x17, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetImageResolutionY(long propVal)
{
	SetProperty(0x17, VT_I4, propVal);
}

long CImgEdit::GetMousePointer()
{
	long result;
	GetProperty(0x18, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetMousePointer(long propVal)
{
	SetProperty(0x18, VT_I4, propVal);
}

long CImgEdit::GetPageCount()
{
	long result;
	GetProperty(0x19, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetPageCount(long propVal)
{
	SetProperty(0x19, VT_I4, propVal);
}

BOOL CImgEdit::GetScrollBars()
{
	BOOL result;
	GetProperty(0x1a, VT_BOOL, (void*)&result);
	return result;
}

void CImgEdit::SetScrollBars(BOOL propVal)
{
	SetProperty(0x1a, VT_BOOL, propVal);
}

long CImgEdit::GetScrollPositionX()
{
	long result;
	GetProperty(0x1b, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetScrollPositionX(long propVal)
{
	SetProperty(0x1b, VT_I4, propVal);
}

long CImgEdit::GetScrollPositionY()
{
	long result;
	GetProperty(0x1c, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetScrollPositionY(long propVal)
{
	SetProperty(0x1c, VT_I4, propVal);
}

unsigned long CImgEdit::GetAnnotationFontColor()
{
	unsigned long result;
	GetProperty(0x1d, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetAnnotationFontColor(unsigned long propVal)
{
	SetProperty(0x1d, VT_I4, propVal);
}

short CImgEdit::GetCompressionType()
{
	short result;
	GetProperty(0x1e, VT_I2, (void*)&result);
	return result;
}

void CImgEdit::SetCompressionType(short propVal)
{
	SetProperty(0x1e, VT_I2, propVal);
}

short CImgEdit::GetFileType()
{
	short result;
	GetProperty(0x1f, VT_I2, (void*)&result);
	return result;
}

void CImgEdit::SetFileType(short propVal)
{
	SetProperty(0x1f, VT_I2, propVal);
}

BOOL CImgEdit::GetScrollShortcutsEnabled()
{
	BOOL result;
	GetProperty(0x20, VT_BOOL, (void*)&result);
	return result;
}

void CImgEdit::SetScrollShortcutsEnabled(BOOL propVal)
{
	SetProperty(0x20, VT_BOOL, propVal);
}

BOOL CImgEdit::GetSelectionRectangle()
{
	BOOL result;
	GetProperty(0x21, VT_BOOL, (void*)&result);
	return result;
}

void CImgEdit::SetSelectionRectangle(BOOL propVal)
{
	SetProperty(0x21, VT_BOOL, propVal);
}

short CImgEdit::GetPageType()
{
	short result;
	GetProperty(0x22, VT_I2, (void*)&result);
	return result;
}

void CImgEdit::SetPageType(short propVal)
{
	SetProperty(0x22, VT_I2, propVal);
}

long CImgEdit::GetCompressionInfo()
{
	long result;
	GetProperty(0x23, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetCompressionInfo(long propVal)
{
	SetProperty(0x23, VT_I4, propVal);
}

long CImgEdit::GetStatusCode()
{
	long result;
	GetProperty(0x24, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetStatusCode(long propVal)
{
	SetProperty(0x24, VT_I4, propVal);
}

CPicture CImgEdit::GetMouseIcon()
{
	LPDISPATCH pDispatch;
	GetProperty(0x25, VT_DISPATCH, (void*)&pDispatch);
	return CPicture(pDispatch);
}

void CImgEdit::SetMouseIcon(LPDISPATCH propVal)
{
	SetProperty(0x25, VT_DISPATCH, propVal);
}

BOOL CImgEdit::GetAutoRefresh()
{
	BOOL result;
	GetProperty(0x26, VT_BOOL, (void*)&result);
	return result;
}

void CImgEdit::SetAutoRefresh(BOOL propVal)
{
	SetProperty(0x26, VT_BOOL, propVal);
}

long CImgEdit::GetImageWidth()
{
	long result;
	GetProperty(0x27, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetImageWidth(long propVal)
{
	SetProperty(0x27, VT_I4, propVal);
}

short CImgEdit::GetBorderStyle()
{
	short result;
	GetProperty(DISPID_BORDERSTYLE, VT_I2, (void*)&result);
	return result;
}

void CImgEdit::SetBorderStyle(short propVal)
{
	SetProperty(DISPID_BORDERSTYLE, VT_I2, propVal);
}

BOOL CImgEdit::GetEnabled()
{
	BOOL result;
	GetProperty(DISPID_ENABLED, VT_BOOL, (void*)&result);
	return result;
}

void CImgEdit::SetEnabled(BOOL propVal)
{
	SetProperty(DISPID_ENABLED, VT_BOOL, propVal);
}

OLE_HANDLE CImgEdit::GetHWnd()
{
	OLE_HANDLE result;
	GetProperty(DISPID_HWND, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetHWnd(OLE_HANDLE propVal)
{
	SetProperty(DISPID_HWND, VT_I4, propVal);
}

long CImgEdit::GetImageScaleHeight()
{
	long result;
	GetProperty(0x28, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetImageScaleHeight(long propVal)
{
	SetProperty(0x28, VT_I4, propVal);
}

long CImgEdit::GetImageScaleWidth()
{
	long result;
	GetProperty(0x29, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetImageScaleWidth(long propVal)
{
	SetProperty(0x29, VT_I4, propVal);
}

long CImgEdit::GetUndoLevels()
{
	long result;
	GetProperty(0x800, VT_I4, (void*)&result);
	return result;
}

void CImgEdit::SetUndoLevels(long propVal)
{
	SetProperty(0x800, VT_I4, propVal);
}

BOOL CImgEdit::GetUseCheckContinuePrinting()
{
	BOOL result;
	GetProperty(0x808, VT_BOOL, (void*)&result);
	return result;

⌨️ 快捷键说明

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