soedithandleoptions.cpp
来自「SuperMap的网络分析示范源码」· C++ 代码 · 共 170 行
CPP
170 行
// 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 "soedithandleoptions.h"
/////////////////////////////////////////////////////////////////////////////
// CsoEditHandleOptions properties
BOOL CsoEditHandleOptions::GetTopLeftEnabled()
{
BOOL result;
GetProperty(0x1, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetTopLeftEnabled(BOOL propVal)
{
SetProperty(0x1, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetTopCenterEnabled()
{
BOOL result;
GetProperty(0x2, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetTopCenterEnabled(BOOL propVal)
{
SetProperty(0x2, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetTopRightEnabled()
{
BOOL result;
GetProperty(0x3, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetTopRightEnabled(BOOL propVal)
{
SetProperty(0x3, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetLeftCenterEnabled()
{
BOOL result;
GetProperty(0x4, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetLeftCenterEnabled(BOOL propVal)
{
SetProperty(0x4, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetRightCenterEnabled()
{
BOOL result;
GetProperty(0x5, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetRightCenterEnabled(BOOL propVal)
{
SetProperty(0x5, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetBottomLeftEnabled()
{
BOOL result;
GetProperty(0x6, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetBottomLeftEnabled(BOOL propVal)
{
SetProperty(0x6, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetBottomCenterEnabled()
{
BOOL result;
GetProperty(0x7, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetBottomCenterEnabled(BOOL propVal)
{
SetProperty(0x7, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetBottomRightEnabled()
{
BOOL result;
GetProperty(0x8, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetBottomRightEnabled(BOOL propVal)
{
SetProperty(0x8, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetRotationEnabled()
{
BOOL result;
GetProperty(0x9, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetRotationEnabled(BOOL propVal)
{
SetProperty(0x9, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetRotateBaseEnabled()
{
BOOL result;
GetProperty(0xa, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetRotateBaseEnabled(BOOL propVal)
{
SetProperty(0xa, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetMoveEnabled()
{
BOOL result;
GetProperty(0xb, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetMoveEnabled(BOOL propVal)
{
SetProperty(0xb, VT_BOOL, propVal);
}
BOOL CsoEditHandleOptions::GetVertexEnabled()
{
BOOL result;
GetProperty(0xc, VT_BOOL, (void*)&result);
return result;
}
void CsoEditHandleOptions::SetVertexEnabled(BOOL propVal)
{
SetProperty(0xc, VT_BOOL, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CsoEditHandleOptions operations
void CsoEditHandleOptions::EnableAll()
{
InvokeHelper(0xd, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
void CsoEditHandleOptions::DisableAll()
{
InvokeHelper(0xe, DISPATCH_METHOD, VT_EMPTY, NULL, NULL);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?