From 2876f37d2fe48da9dbc67cad21fe63fbd455db2e Mon Sep 17 00:00:00 2001 From: Kathy Date: Tue, 3 Jul 2012 15:53:46 +0000 Subject: [PATCH] Default LPI to 6 if none specified in the 16bit data. --- PROMS/DataLoader/Documents.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/PROMS/DataLoader/Documents.cs b/PROMS/DataLoader/Documents.cs index d735f9e0..f853adc6 100644 --- a/PROMS/DataLoader/Documents.cs +++ b/PROMS/DataLoader/Documents.cs @@ -95,7 +95,11 @@ namespace DataLoader else if (stype[1] == '4') lpi = 4; else if (stype[1] == '7') lpi = 7; // if need landscape set too: bool landscape = (stype[1] == 'L'); - myWordDoc.SetLineSpacing(lpi); // if need landscape set too: , landscape); ; + myWordDoc.SetLineSpacing(lpi); + } + else + { + myWordDoc.SetLineSpacing(6); } float docLen = 1.0f; try