Select a line drawing object in a document.
Choose Format - Drawing Object - Graphic - Line and click the Line Styles tab.
Specify the line options that you want.
To specify the length of the line as a percentage of the line width, select Fit to line width.
Click Add.
Enter a name for the line style and click OK.
To save the line style in a custom line style list, click the Save Line Styles icon.