Implemented the first version of the report settings to help compensate for the screen resolution dependence the PDF engines seem to have.

This commit is contained in:
2017-05-10 02:05:51 -05:00
parent 4c6b79aea1
commit a569a21294
12 changed files with 1146 additions and 10 deletions
+84
View File
@@ -46,5 +46,89 @@ namespace AdvertsingProfitControl.Properties {
this["DefaultServer"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("A4")]
public string ReportPaperKind {
get {
return ((string)(this["ReportPaperKind"]));
}
set {
this["ReportPaperKind"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("100%")]
public string ApcReportWidth {
get {
return ((string)(this["ApcReportWidth"]));
}
set {
this["ApcReportWidth"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("100%")]
public string ApcReportHeight {
get {
return ((string)(this["ApcReportHeight"]));
}
set {
this["ApcReportHeight"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("100%")]
public string WicReportWidth {
get {
return ((string)(this["WicReportWidth"]));
}
set {
this["WicReportWidth"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("100%")]
public string WicReportHeight {
get {
return ((string)(this["WicReportHeight"]));
}
set {
this["WicReportHeight"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("14px")]
public string ApcFontSize {
get {
return ((string)(this["ApcFontSize"]));
}
set {
this["ApcFontSize"] = value;
}
}
[global::System.Configuration.UserScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.DefaultSettingValueAttribute("20px")]
public string WicFontSize {
get {
return ((string)(this["WicFontSize"]));
}
set {
this["WicFontSize"] = value;
}
}
}
}