示例

以下示例展示了如何使用连接名称为新创建的 autECLPageSettings 对象设置连接。

Dim PgSet as Object
Set PgSet = CreateObject("ZIEWin.autECLPageSettings")
' Initialize the connection
PgSet.SetConnectionByName("A")
' For example, see if Font CPI is set
If PgSet.FontCPI Then
'your logic here...
End If