add PDFBurnerParams
This commit is contained in:
parent
bc4371cb99
commit
1843119b1b
27
EnvelopeGenerator.PdfEditor/Models/PDFBurnerParams.cs
Normal file
27
EnvelopeGenerator.PdfEditor/Models/PDFBurnerParams.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using System.Drawing;
|
||||
using System.Diagnostics.CodeAnalysis;
|
||||
#if NETFRAMEWORK
|
||||
using System.Collections.Generic;
|
||||
#endif
|
||||
|
||||
namespace EnvelopeGenerator.PdfEditor.Models
|
||||
{
|
||||
public class PDFBurnerParams
|
||||
{
|
||||
public IEnumerable<string> IgnoredLabels { get; set; } = new List<string>
|
||||
{
|
||||
"Date", "Datum", "ZIP", "PLZ", "Place", "Ort", "Position", "Stellung"
|
||||
};
|
||||
|
||||
public double TopMargin { get; set; } = 0.1;
|
||||
|
||||
public double YOffset { get; set; } = -0.3;
|
||||
|
||||
public string FontName { get; set; } = "Arial";
|
||||
|
||||
public int FontSize { get; set; } = 8;
|
||||
|
||||
[SuppressMessage("Interoperability", "CA1416:Validate platform compatibility", Justification = "<Pending>")]
|
||||
public FontStyle FontStyle { get; set; } = FontStyle.Italic;
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user