logic to support exe switch that will delay when Word will display the newly generated Placekeeper

This commit is contained in:
2015-02-19 03:53:45 +00:00
parent a6ed94d8c6
commit cbc3df3023
3 changed files with 37 additions and 4 deletions

View File

@@ -23,6 +23,11 @@ namespace Volian.Print.Library
_WordSel = _WordApp.Selection;
_pkFont = new VE_Font("Arial", 11, E_Style.None, 12); // Calvert uses Arial for their Placekeepers.
}
public void Visible()
{
_WordApp.Visible = true;
_WordApp.Activate();
}
//public Placekeeper(pkParagraph myPlacekeeper)
//{
// _WordApp = new LBApplicationClass();
@@ -53,7 +58,7 @@ namespace Volian.Print.Library
_WordApp = new LBApplicationClass();
_WordDoc = _WordApp.Documents.Add();
_WordSel = _WordApp.Selection;
_WordApp.Visible = true;
//_WordApp.Visible = true;
_pkFont = pkFont;
AddTable();
AddHeader();