From 462d384fbd2703c6e781dac0d2975ce2bb7ff8aa Mon Sep 17 00:00:00 2001 From: Devin Date: Fri, 28 Feb 2020 16:20:20 +0000 Subject: [PATCH] LBColumn and Height methods for Word converter tool --- PROMS/LBWordLibrary/LBComObject.cs | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/PROMS/LBWordLibrary/LBComObject.cs b/PROMS/LBWordLibrary/LBComObject.cs index 26896f06..89f21eba 100644 --- a/PROMS/LBWordLibrary/LBComObject.cs +++ b/PROMS/LBWordLibrary/LBComObject.cs @@ -1108,6 +1108,14 @@ namespace LBWordLibrary { return InvokeMethod("GetEnumerator"); } + public LBColumn this[int item] + { + get // Get a Column from a List + { + return new LBColumn(base[item]); + } + } + } public enum LBWdLineSpacing { @@ -1647,6 +1655,11 @@ namespace LBWordLibrary get { return (GetProperty("Width") as float? ?? 0); } set { SetProperty("Width", value); } } + public float Height + { + get { return (GetProperty("Height") as float? ?? 0); } + set { SetProperty("Height", value); } + } // C2019-021 RHM 5/15/2019 Added newe methods and properties for Import Word Content public int RowIndex {