Allow approval to work if no existing approved versions
Try too set margins if bottom margin is undefined for MSWord section Corrected comment
This commit is contained in:
@@ -784,6 +784,20 @@ namespace VEPROMS.CSLA.Library
|
||||
myDoc.PageSetup.LeftMargin = newLeft;
|
||||
myDoc.PageSetup.TopMargin = newTop;
|
||||
}
|
||||
else
|
||||
{
|
||||
try
|
||||
{
|
||||
myDoc.PageSetup.BottomMargin = 0; // 11 * 72 - (newTop + newLength);
|
||||
myDoc.PageSetup.RightMargin = newRight;
|
||||
myDoc.PageSetup.LeftMargin = newLeft;
|
||||
myDoc.PageSetup.TopMargin = newTop;
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
_MyLog.Error("Could not set margins", ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user