?? sotextstyle.cpp
字號:
// 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 "sotextstyle.h"
/////////////////////////////////////////////////////////////////////////////
// CsoTextStyle properties
long CsoTextStyle::GetAlign()
{
long result;
GetProperty(0x1, VT_I4, (void*)&result);
return result;
}
void CsoTextStyle::SetAlign(long propVal)
{
SetProperty(0x1, VT_I4, propVal);
}
BOOL CsoTextStyle::GetBold()
{
BOOL result;
GetProperty(0x2, VT_BOOL, (void*)&result);
return result;
}
void CsoTextStyle::SetBold(BOOL propVal)
{
SetProperty(0x2, VT_BOOL, propVal);
}
unsigned long CsoTextStyle::GetColor()
{
unsigned long result;
GetProperty(0x3, VT_I4, (void*)&result);
return result;
}
void CsoTextStyle::SetColor(unsigned long propVal)
{
SetProperty(0x3, VT_I4, propVal);
}
double CsoTextStyle::GetFontHeight()
{
double result;
GetProperty(0x4, VT_R8, (void*)&result);
return result;
}
void CsoTextStyle::SetFontHeight(double propVal)
{
SetProperty(0x4, VT_R8, propVal);
}
double CsoTextStyle::GetFontWidth()
{
double result;
GetProperty(0x5, VT_R8, (void*)&result);
return result;
}
void CsoTextStyle::SetFontWidth(double propVal)
{
SetProperty(0x5, VT_R8, propVal);
}
BOOL CsoTextStyle::GetItalic()
{
BOOL result;
GetProperty(0x6, VT_BOOL, (void*)&result);
return result;
}
void CsoTextStyle::SetItalic(BOOL propVal)
{
SetProperty(0x6, VT_BOOL, propVal);
}
BOOL CsoTextStyle::GetStroke()
{
BOOL result;
GetProperty(0x7, VT_BOOL, (void*)&result);
return result;
}
void CsoTextStyle::SetStroke(BOOL propVal)
{
SetProperty(0x7, VT_BOOL, propVal);
}
BOOL CsoTextStyle::GetUnderline()
{
BOOL result;
GetProperty(0x8, VT_BOOL, (void*)&result);
return result;
}
void CsoTextStyle::SetUnderline(BOOL propVal)
{
SetProperty(0x8, VT_BOOL, propVal);
}
double CsoTextStyle::GetRotation()
{
double result;
GetProperty(0x9, VT_R8, (void*)&result);
return result;
}
void CsoTextStyle::SetRotation(double propVal)
{
SetProperty(0x9, VT_R8, propVal);
}
CString CsoTextStyle::GetFontName()
{
CString result;
GetProperty(0xa, VT_BSTR, (void*)&result);
return result;
}
void CsoTextStyle::SetFontName(LPCTSTR propVal)
{
SetProperty(0xa, VT_BSTR, propVal);
}
BOOL CsoTextStyle::GetFixedSize()
{
BOOL result;
GetProperty(0xb, VT_BOOL, (void*)&result);
return result;
}
void CsoTextStyle::SetFixedSize(BOOL propVal)
{
SetProperty(0xb, VT_BOOL, propVal);
}
BOOL CsoTextStyle::GetTransparent()
{
BOOL result;
GetProperty(0xc, VT_BOOL, (void*)&result);
return result;
}
void CsoTextStyle::SetTransparent(BOOL propVal)
{
SetProperty(0xc, VT_BOOL, propVal);
}
long CsoTextStyle::GetFixedTextSize()
{
long result;
GetProperty(0xd, VT_I4, (void*)&result);
return result;
}
void CsoTextStyle::SetFixedTextSize(long propVal)
{
SetProperty(0xd, VT_I4, propVal);
}
BOOL CsoTextStyle::GetShadow()
{
BOOL result;
GetProperty(0xe, VT_BOOL, (void*)&result);
return result;
}
void CsoTextStyle::SetShadow(BOOL propVal)
{
SetProperty(0xe, VT_BOOL, propVal);
}
BOOL CsoTextStyle::GetOutline()
{
BOOL result;
GetProperty(0xf, VT_BOOL, (void*)&result);
return result;
}
void CsoTextStyle::SetOutline(BOOL propVal)
{
SetProperty(0xf, VT_BOOL, propVal);
}
unsigned long CsoTextStyle::GetBgColor()
{
unsigned long result;
GetProperty(0x10, VT_I4, (void*)&result);
return result;
}
void CsoTextStyle::SetBgColor(unsigned long propVal)
{
SetProperty(0x10, VT_I4, propVal);
}
long CsoTextStyle::GetWeight()
{
long result;
GetProperty(0x12, VT_I4, (void*)&result);
return result;
}
void CsoTextStyle::SetWeight(long propVal)
{
SetProperty(0x12, VT_I4, propVal);
}
/////////////////////////////////////////////////////////////////////////////
// CsoTextStyle operations
long CsoTextStyle::GetSmObject()
{
long result;
InvokeHelper(0x11, DISPATCH_METHOD, VT_I4, (void*)&result, NULL);
return result;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -