You can use the Match tool to copy the settings (pen thickness, line type, line color and layer) from an existing element to the Format toolbar.
To match the parameters of a line
Activate Copy in one of the following ways