Click or drag to resize

DocumentConnect(Int32) Method

返回用户文档首页
连接STC主程序

Namespace: LoongCAD.STC.Friendly
Assembly: LoongCAD.STC.Friendly (in LoongCAD.STC.Friendly.dll) Version: 2025.0.9.14 (2025.0.9.14)
Syntax
C#
public bool Connect(
	int msTimeout
)

Parameters

msTimeout  Int32
超时时间(毫秒), 若超时未连接成功,则抛出TimeoutException异常

Return Value

Boolean
连接是否成功
Remarks
仅用于在独立程序中与STC进行交互
See Also