通过CELTYPE系统变量将线型设置为当前的
 
 

This example sets a linetype current with the CELTYPE system variable.

下面示例使用 CELTYPE 系统变量设置一个线型为当前线型。

VB.NET

Application.SetSystemVariable("CELTYPE", "Center")

C#

Application.SetSystemVariable("CELTYPE", "Center");
VBA/ActiveX 代码参考