C2020-002 Logic to use either the Letter or A4 paper size

C2020-002 Get the paper size setting from the formats
This commit is contained in:
2020-02-14 17:13:12 +00:00
parent 148b8d9d1a
commit 2234bde5e1
3 changed files with 32 additions and 5 deletions

View File

@@ -642,6 +642,8 @@ namespace VEPROMS
{
string locpdfname = null; // get pdf file name for later merge code
MyProcedure = myProc;
// C2020-002 paper size is now set in the format files - default is Letter
Volian.Print.Library.Rtf2Pdf.PaperSize = myProc.ActiveFormat.PlantFormat.FormatData.PDFPageSize.PaperSize;
if (myProc.Sections != null)
{
// This is master/slave & a slave has been selected for printing (SelectedSlave > 0)