• 大小: 53.52MB
    文件类型: .7z
    金币: 1
    下载: 0 次
    发布日期: 2023-04-25
  • 语言: 其他
  • 标签: PADS  

资源简介

PADS 9.5 精简版 免安装,默认解压目录:D:\pgm\EDA\PADS9.5

资源截图

代码片段和文件信息

/* Copyright Mentor Graphics Corporation 2003

    All Rights Reserved.

 THIS WORK CONTAINS TRADE SECRET
 AND PROPRIETARY INFORMATION WHICH IS THE
 PROPERTY OF MENTOR GRAPHICS
 CORPORATION OR ITS LICENSORS AND IS
 SUBJECT TO LICENSE TERMS. 
*/
// Machine generated IDispatch wrapper class(es) created with ClassWizard

#include “stdafx.h“
#include “powerpcb.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif



/////////////////////////////////////////////////////////////////////////////
// IPowerPCBDoc properties

/////////////////////////////////////////////////////////////////////////////
// IPowerPCBDoc operations

CString IPowerPCBDoc::GetName()
{
CString result;
InvokeHelper(0x0 DISPATCH_PROPERTYGET VT_BSTR (void*)&result NULL);
return result;
}

LPDISPATCH IPowerPCBDoc::GetApplication()
{
LPDISPATCH result;
InvokeHelper(0x2af9 DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}

LPDISPATCH IPowerPCBDoc::GetParent()
{
LPDISPATCH result;
InvokeHelper(0x2afa DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}

CString IPowerPCBDoc::GetPath()
{
CString result;
InvokeHelper(0x2afb DISPATCH_PROPERTYGET VT_BSTR (void*)&result NULL);
return result;
}

CString IPowerPCBDoc::GetFullName()
{
CString result;
InvokeHelper(0x2afc DISPATCH_PROPERTYGET VT_BSTR (void*)&result NULL);
return result;
}

LPDISPATCH IPowerPCBDoc::GetActiveView()
{
LPDISPATCH result;
InvokeHelper(0x2afd DISPATCH_PROPERTYGET VT_DISPATCH (void*)&result NULL);
return result;
}

void IPowerPCBDoc::SetSaved(BOOL bNewValue)
{
static BYTE parms[] =
VTS_BOOL;
InvokeHelper(0x2afe DISPATCH_PROPERTYPUT VT_EMPTY NULL parms
 bNewValue);
}

BOOL IPowerPCBDoc::GetSaved()
{
BOOL result;
InvokeHelper(0x2afe DISPATCH_PROPERTYGET VT_BOOL (void*)&result NULL);
return result;
}

void IPowerPCBDoc::SetUnit(long nNewValue)
{
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x2aff DISPATCH_PROPERTYPUT VT_EMPTY NULL parms
 nNewValue);
}

long IPowerPCBDoc::GetUnit()
{
long result;
InvokeHelper(0x2aff DISPATCH_PROPERTYGET VT_I4 (void*)&result NULL);
return result;
}

double IPowerPCBDoc::GetOriginX(long unit)
{
double result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x2b00 DISPATCH_PROPERTYGET VT_R8 (void*)&result parms
unit);
return result;
}

double IPowerPCBDoc::GetOriginY(long unit)
{
double result;
static BYTE parms[] =
VTS_I4;
InvokeHelper(0x2b01 DISPATCH_PROPERTYGET VT_R8 (void*)&result parms
unit);
return result;
}

void IPowerPCBDoc::SetGridX(long type long unit double newValue)
{
static BYTE parms[] =
VTS_I4 VTS_I4 VTS_R8;
InvokeHelper(0x2b02 DISPATCH_PROPERTYPUT VT_EMPTY NULL parms
 type unit newValue);
}

double IPowerPCBDoc::GetGridX(long type long unit)
{
double

评论

共有 条评论