I am setting the border width of a table in Aspose.Words 17.9 using the code below;
objTable.SetBorder(Aspose.Words.BorderType.Bottom, LineStyle.Single, SBProperties.LineHeight, System.Drawing.Color.Empty, False)
If SBPropertes.LineHeight contains a value from 1 to 31 it works fine, as soon as I use a value > 31 it throws an exception as follows
Specified argument was out of the range of valid values. Parameter name: lineWidth
My question is how do I determine the maximum value to avoid the exception.
Thanks