示例

以下示例显示了如何将字符设置到 autECLPS 对象相关连接的表示空间内的矩形区域中。
Dim autECLPSObj as Object 
Dim PSText String 

’ Initialize the connection 
Set autECLPSObj = CreateObject ("ZIEWin.autELCPS") 
autECLPSObj.SetConnectionByName("A") 

SetTextRect "HCL is great company to collaborate with", 1, 1, 4, 8
如果要使用括号,则可以使用 SetTextRect 作为
call SetTextRect("HCL is great company to collaborate with", 1, 1, 4, 8)