This example sets a linetype current with the CELTYPE system variable.
下面示例使用 CELTYPE 系统变量设置一个线型为当前线型。
VB.NET
Application.SetSystemVariable("CELTYPE", "Center")
C#
Application.SetSystemVariable("CELTYPE", "Center");
ThisDrawing.SetVariable "CELTYPE", "Center"