Example

The following example shows how to use the connection name to set the connection for a newly created autECLPageSettings object.

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