view3d.cpp

来自「写入WORD;动态画曲线;查看磁盘资源等。」· C++ 代码 · 共 71 行

CPP
71
字号
// 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 "view3d.h"


/////////////////////////////////////////////////////////////////////////////
// CView3D properties

long CView3D::GetDepth()
{
	long result;
	GetProperty(0x1, VT_I4, (void*)&result);
	return result;
}

void CView3D::SetDepth(long propVal)
{
	SetProperty(0x1, VT_I4, propVal);
}

long CView3D::GetElevation()
{
	long result;
	GetProperty(0x2, VT_I4, (void*)&result);
	return result;
}

void CView3D::SetElevation(long propVal)
{
	SetProperty(0x2, VT_I4, propVal);
}

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

void CView3D::SetRotation(long propVal)
{
	SetProperty(0x3, VT_I4, propVal);
}

LPDISPATCH CView3D::GetParent()
{
	LPDISPATCH result;
	GetProperty(0x4, VT_DISPATCH, (void*)&result);
	return result;
}

short CView3D::GetShading()
{
	short result;
	GetProperty(0x5, VT_I2, (void*)&result);
	return result;
}

void CView3D::SetShading(short propVal)
{
	SetProperty(0x5, VT_I2, propVal);
}

/////////////////////////////////////////////////////////////////////////////
// CView3D operations

⌨️ 快捷键说明

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