CalculateTextSizeTest.zip (86.1 KB)
public static void testHeight()
{
// Create a new workbook and save with different DPI settings
Workbook workbook = new Workbook("D:\\CalculateTextSizeTest.xlsm");
Worksheet shee…...Text); int[] estimatedTextHeight...singleLine = textBox.Text.Replace("\r", "").Replace("\n", " "); textBox...