C2020-002 Logic to use either the Letter or A4 paper size
This commit is contained in:
@@ -2413,6 +2413,13 @@ namespace Volian.Controls.Library
|
||||
get { return _HowLong; }
|
||||
set { _HowLong = value; }
|
||||
}
|
||||
private string _PaperSize;
|
||||
|
||||
public string PaperSize // C2020-002 paper size is now set in the format files
|
||||
{
|
||||
get { return _PaperSize; }
|
||||
set { _PaperSize = value; }
|
||||
}
|
||||
public DisplaySearchEventArgs(TimeSpan howLong)
|
||||
{
|
||||
HowLong = howLong;
|
||||
@@ -2423,6 +2430,12 @@ namespace Volian.Controls.Library
|
||||
_TypesSelected = typesSelected;
|
||||
_MyItemInfoList = myItemInfoList;
|
||||
_SearchString = searchString;
|
||||
foreach (ItemInfo tmpII in myItemInfoList)
|
||||
if (tmpII != null && tmpII.ActiveFormat != null)
|
||||
{
|
||||
_PaperSize = tmpII.ActiveFormat.PlantFormat.FormatData.PDFPageSize.PaperSize; // C2020-002 paper size is now set in the format files
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
public delegate void DisplaySearchEvent(object sender, DisplaySearchEventArgs args);
|
||||
|
Reference in New Issue
Block a user