WebCAD-Lib-TS API 文档 - v1.0.0
Preparing search index...
DocumentOpenedEventArgs
Interface DocumentOpenedEventArgs
文档已打开事件参数
interface
DocumentOpenedEventArgs
{
timestamp
:
number
;
customData
?:
any
;
document
:
CadDocument
;
filePath
?:
string
;
source
?:
"server"
|
"local"
|
"import"
;
}
Hierarchy (
View Summary
)
CadEventArgs
DocumentOpenedEventArgs
Index
Properties
timestamp
custom
Data?
document
file
Path?
source?
Properties
timestamp
timestamp
:
number
事件发生的时间戳
Optional
custom
Data
customData
?:
any
自定义数据,二次开发者可以附加额外信息
document
document
:
CadDocument
已打开的文档对象
Optional
file
Path
filePath
?:
string
文件路径或URL
Optional
source
source
?:
"server"
|
"local"
|
"import"
打开来源类型
Settings
Member Visibility
Protected
Internal
Alpha
Beta
Theme
OS
Light
Dark
On This Page
Properties
timestamp
custom
Data
document
file
Path
source
WebCAD-Lib-TS API 文档 - v1.0.0
Loading...
文档已打开事件参数