예제 #1
0
        private void Btn_InsertTableInWorldDocument_Click(object sender, EventArgs e)
        {
            string[,] data =
            {
                { "Row 1, Col 1", "Row 1, Col 2" },
                { "Row 2, Col 1", "Row 2, Col 2" },
                { "Row 3, Col 1", "Row 3, Col 2" },
            };

            Helper_Word.WDAddTable(Word_Location, data);
        }
예제 #2
0
 private void Btn_RetrievePlainText_Click(object sender, EventArgs e)
 {
     Tbo_ExcelLog.Text += Helper_Word.WDRetrieveText(Word_Location) + Environment.NewLine;
 }
예제 #3
0
        private void Btn_GetWordCreationDateTime_Click(object sender, EventArgs e)
        {
            DateTime?created = Helper_Word.WDGetCreationDate(Word_Location);

            AppendTo_ExcelLog(created.ToString());
        }