Update 20250206
This commit is contained in:
@@ -213,7 +213,7 @@ namespace DOCGEN.Klassen
|
||||
signature.LineFormat.Color= Color.White;
|
||||
|
||||
signature.WrapFormat.AllowOverlap = true;
|
||||
signature.VerticalPosition = signature.VerticalPosition - 50;
|
||||
signature.VerticalPosition = signature.VerticalPosition - 55;
|
||||
|
||||
//signature.HorizontalPosition = signature.HorizontalPosition + 200;
|
||||
|
||||
@@ -384,7 +384,7 @@ namespace DOCGEN.Klassen
|
||||
if (dv.TMBeginn.ToString().Contains("VornameNameRechts"))
|
||||
{
|
||||
string unterschrift = "";
|
||||
if (img_UL != "") { unterschrift = img_UL.ToString(); }
|
||||
if (img_UL != "") { unterschrift = img_UR.ToString(); }
|
||||
else
|
||||
{
|
||||
unterschrift = Newtonsoft.Json.JsonConvert.DeserializeObject<string>(get_unterschrift(docdata.Unterschrift_Rechts));
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -297,8 +297,8 @@ namespace DOCGEN
|
||||
//Dokument erstellen
|
||||
var streamword = new MemoryStream(Convert.FromBase64String(document));
|
||||
WordDocument wordDocument = new WordDocument(streamword, Syncfusion.DocIO.FormatType.Automatic);
|
||||
|
||||
|
||||
|
||||
|
||||
// Keine Parameter / Dokument als PDF konvertieren
|
||||
if (pdfparameters == null)
|
||||
@@ -308,9 +308,19 @@ namespace DOCGEN
|
||||
converter.Settings.EmbedFonts = true;
|
||||
if (useseettings)
|
||||
{
|
||||
converter.Settings.UpdateDocumentFields = true;
|
||||
converter.Settings.UpdateDocumentFields = false;
|
||||
converter.Settings.EnableAlternateChunks = true;
|
||||
converter.Settings.AutoDetectComplexScript = true;
|
||||
converter.Settings.ImageResolution = 640;
|
||||
converter.Settings.ImageQuality = 100;
|
||||
}
|
||||
else
|
||||
{
|
||||
converter.Settings.UpdateDocumentFields = false;
|
||||
converter.Settings.EnableAlternateChunks = true;
|
||||
converter.Settings.AutoDetectComplexScript = true;
|
||||
converter.Settings.ImageResolution = 96;
|
||||
converter.Settings.ImageQuality = 1;
|
||||
}
|
||||
//Converts Word document into PDF document
|
||||
using (PdfDocument pdfDocument = converter.ConvertToPDF(wordDocument))
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user