LineType
Previous Topic  Next Topic 

 

 

sdLineType

 

 

The line identity consisting of combinations of dashes, dots, and spaces. 

 

For example, a linetype called DASHDOT is defined as *DASHDOT,Dash dot __ . __ . __ . __ . __ . __ . __ . __ A,.5,-.25,0,-.25 

 

 

private void LineType()

{

    double[] pattern = new double[4];

    pattern[0] = 0.5; pattern[1] = -0.25; pattern[2] = 0.0; pattern[3] = -0.25;

    fDrawCtrl1.Document.LineTypes.Add("dashdotNew", pattern);

}