Imports System.Drawing Namespace Jobs.FinalizeDocument Public Class PDFBurnerParams Public Property IgnoredLabels As New List(Of String) From {"Date", "Datum", "ZIP", "PLZ", "Place", "Ort", "Position", "Stellung"} Public Property TopMargin As Double = 0.1 Public Property YOffset As Double = -0.3 Public Property FontName As String = "Arial" Public Property FontSize As Integer = 8 Public Property FontStyle As FontStyle = FontStyle.Italic ''' ''' The suffix appended to a truncated field value. Defaults to "..". ''' Can be changed to any string (e.g. "…", "...", ""). ''' Public Property TruncationSuffix As String = ".." ''' ''' Per-field maximum character count (including the TruncationSuffix). ''' If a value exceeds the limit it is cut and TruncationSuffix is appended. ''' Keys must match egName values used in PDFBurner (e.g. "name", "position", "city", "date"). ''' Set a value to 0 to disable truncation for that field. ''' Public Property TextMaxLengths As New Dictionary(Of String, Integer) From { {"position", 20}, {"city", 20}, {"date", 28} } End Class End Namespace