Make a linetype current with the CELTYPE system variable
 
 
 

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

VB.NET

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

C#

Application.SetSystemVariable("CELTYPE", "Center");
VBA/ActiveX Code Reference