Added “AddBlankPagesWhenUsingDuplexFoldouts” under Print Settings
This commit is contained in:
parent
c04c6e25bf
commit
2336a70679
@ -757,6 +757,34 @@ namespace VEPROMS.CSLA.Library
|
||||
}
|
||||
}
|
||||
}
|
||||
[Category("Print Settings")]
|
||||
[DisplayName("AddBlankPagesWhenUsingDuplexFoldouts")]
|
||||
[RefreshProperties(RefreshProperties.All)]
|
||||
[Description("Add Blank Pages in Procedures that Print Duplex Foldouts")]
|
||||
public bool Print_AddBlankPagesWhenUsingDuplexFoldouts
|
||||
{
|
||||
get
|
||||
{
|
||||
string s = _Xp["PrintSettings", "AddBlankPagesWhenUsingDuplexFoldouts"];
|
||||
|
||||
// If there is no value, then default to true
|
||||
if (s == string.Empty)
|
||||
s = "false"; // default
|
||||
|
||||
return bool.Parse(s);
|
||||
}
|
||||
set
|
||||
{
|
||||
if (_SaveChangesToDocVersionConfig)
|
||||
{
|
||||
string parval = _Xp.ParentValue("PrintSettings", "AddBlankPagesWhenUsingDuplexFoldouts");
|
||||
|
||||
_Xp["PrintSettings", "AddBlankPagesWhenUsingDuplexFoldouts"] = value.ToString();
|
||||
|
||||
OnPropertyChanged("Print_AddBlankPagesWhenUsingDuplexFoldouts");
|
||||
}
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
#region Unit // From PROC.INI
|
||||
//MultiUnitCount
|
||||
|
Loading…
x
Reference in New Issue
Block a user